Community Profile

photo

Kumar Pallav

Last seen: 2 giorni ago Active since 2021

Statistics

All
  • 3 Month Streak
  • Revival Level 2
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Content Feed

View by

Answered
Fmincon works for MATLAB version 2020a but not for version 2021b
Hi, Please refer to a similar issue here. You could set breakpoints for debugging at the command line: dbstop if naninf and...

5 giorni ago | 0

Answered
MATLAB throws "Operation terminated by user" by itself
I understand that you are facing a problem when trying to run several instances of MATLAB processes executing the same script. ...

7 giorni ago | 0

Answered
fzero ,,Error using fzero (line 308) Initial function value must be finite and real.''
Hi, Refer this for similar problem. The cause of this error is that the objective function is calling 'fzero', but for certain ...

9 giorni ago | 0

Answered
How to plot stress contour if nodal values are known (FEM)?
Hi, Refer this for a similar problem. Hope it helps!

9 giorni ago | 0

| accepted

Answered
Every time I run this code, I get "Error using plot Vectors must be the same length. Error in ex (line 22)
Hi, I assume the variable "L" defined in parameters has to be used instead of "l" inside the for loop. The error you are gett...

9 giorni ago | 0

Answered
Trying to understand behavior of holes in alphaShapes.
Hi, The default alpha radius is one which is the smallest alpha radius that produces an alpha shape that encloses all points. ...

11 giorni ago | 0

Answered
LASSO does not return correct coefficient estimate when Intercept is set as false and the first column of X is all 1
Hi, When the 'Intercept' is set to false, then the returned intercept value is 0. If you run the following: [betahat_intercep...

11 giorni ago | 0

Answered
Why is dsolve giving me the wrong answer?
Hi, As per my understanding, C1, C2,C3,C4 are arbitrary constants(can be positive or negative) and hence, the answer you got a...

circa un mese ago | 0

Answered
Probability figure infections vs sample size
Hi, You could first create a set of sample sizes. Based on that, you derive the number of people with infections based on the g...

circa un mese ago | 0

Answered
Intersection between line and surface in 3d
Hi, You could check out a similar problem here.

circa un mese ago | 0

Answered
Feature selection / Dimensionality reduction for tall array
Hi, Please look at the various feature selection techniques available in Statistics and Machine Learning Toolbox. As an example...

circa un mese ago | 0

Answered
What is the problem with the step size?
Hi, Try adding the rate transition block between blocks that operate at different rates. Hope this helps!

circa un mese ago | 0

Answered
3D surface from Matlab to Solidworks
Hi, You can use 'surf2stl' function to write stl file from surface data and import the stl file in solidworks. Refer this for ...

circa un mese ago | 0

Answered
Trying to install on ubuntu 20.04 but get this error: install_unix_legacy: not found
Hi, The system requirements for installing MATLAB 2020b requires any Intel or AMD x86-64 processor (Raspberry pi uses ARM cort...

circa un mese ago | 0

Answered
Cannot connect Arduino MKRzero to R2018b
Hi, The hardware board "Arduino MKR Zero" is supported on releases from R2019b. Please refer this document for Arduino suppo...

circa un mese ago | 0

| accepted

Answered
Is there a command to generate the parameter values for all user-defined parameters in a specific block instead of a different command for each parameter?
Hi, You can try the following command to get a list of block dialog parameters. get_param('mymodel/myblock','DialogParameters'...

circa un mese ago | 0

Answered
Unexpected data type for Run-Time Parameter: how to solve this
Please refer this solution for a similar problem. You may need to explicitly set the data types to avoid the mismatch of datatyp...

circa un mese ago | 0

Answered
Error running Standalone exe with custom python function
Hi, To call python modules from MATLAB, you must have a supported version of the reference implementation (CPython) installed o...

circa un mese ago | 0

| accepted

Answered
MATLAB Support Package for Arduino Hardware installation error (failed to to download third party package
Hi, Please refer to this technical solution . Hope it helps!

2 mesi ago | 0

Answered
Is it possible to delete input/output ports in a variant subsystem?
Please refer to this solution , in order to reduce the number of input ports on the main variant subsystem block we will have to...

2 mesi ago | 0

Answered
Why do I receive License Manager Error -9?
Please check this answer to resolve this issue when there is a problem resolving the hostname of the license manager machine. H...

2 mesi ago | 0

Answered
Classifynig dicom images with deep learning for lung cancer
Hi, You could refer this to create a simple image classification network. Here, you need data to train your model first(with bo...

2 mesi ago | 0

Answered
How do I play avi file created in Matlab?
Refer this technical solution with a similar issue. To open an avi file programatically, use 'implay()' function. Refer this fo...

2 mesi ago | 0

Answered
How to add the wiring of two resistors in SIMULINK through the MATLAB code
Hi, You can perform simulink basics modelling from matlab command window. Refer this for more on Programmatic Modeling Basics. ...

2 mesi ago | 0

| accepted

Answered
How to do a scatter plot?
You would have to first clean the data so that there are two columns (ie a name value pair data). T = readtable('clean_data.cs...

2 mesi ago | 0

Answered
I'm plotting a 2d function and there is not trace button in the plot window. How do I add the trace button?
From my understanding, you would like to view the coordinate points in the graph. You could open the figure in a new window, and...

2 mesi ago | 0

Answered
Creating a new matrix basd on the index and value of an existing matrix
You could try the following code in matlab to get the desired result: input=[0.001 0.002 0.003 0.004; 0.005 0.006 0.007 0.008];...

2 mesi ago | 0

| accepted

Answered
How to get positive kla(mass transfer coefficient) by solving ODE's using ode 15s and lsqonlin function?
From my understanding, 'lsqnonlin' solves nonlinear least-squares (nonlinear data-fitting) problems. x = lsqnonlin(fun,x0) star...

2 mesi ago | 0

Answered
How can I use the Lasso to apply to Logistic Regression?
You can use 'lassoglm' function for lasso regularization of generalized linear models including logistic regression. Refer this...

3 mesi ago | 0

| accepted

Answered
solving equation returns 0x1 sym
The equation is not valid for any values of [r21 r23 r31 r32 r33]. If you change r11=1, and r13=0, you could see an output, as t...

3 mesi ago | 0

Load more