Community Profile

# Deepak Meena

### MathWorks

64 total contributions since 2020

I am Application Support Engineer at Mathworks

Disclaimer: Any articles ideas/opinions here are my own and in no way reflect that of Mathworks

View details...

Contributions in
View by

What does the argument 'TolFun' indicate in function 'fit'?
Hi, TolFun is a lower bound on the change in the value of the objective function during a step. If |f(xi) – f(xi+1)| < TolFun, ...

2 months ago | 0

| accepted

Solving an Improper Integral
Hi, You did not make any mistake, To evaluate the A use vpa fucntion : >> vpa(A) ans = 1.37254375677347943279824099...

2 months ago | 1

How to fix the error?
Hi, Please refer to this answer : Why do I get the error "Undefined function or variable"?

2 months ago | 0

Error Matrix must dimensions agree HELP!
Hi , The error is coming because the size of the left side is 1-by-1 and the size of the right side is 1-by-4. Also Change yo...

2 months ago | 0

Equidistant interpolation with outliers
Hi, You can do the following : Use the fit fucntion with ROBUST name pair argument to get a fit Get the equidistant x points...

2 months ago | 0

Double click to import file not working?
Hi Namrata , If possible please attach the one of the files or attach the screenshot. Meanwhile I am attaching a xcel file , ...

2 months ago | 0

scatter plotting the accelerometer and gyroscope
Hi Since you already have data in xcel file , import the data in MATLAB using import tool. Now you can have the scatter plot fo...

2 months ago | 0

How to solve an integral equation in simulink?
Hi, Please let us know what error exactly you are getting while using Function block in Simulink. My Initial guess is that err...

2 months ago | 0

| accepted

For which target variable are results plotted?
Hi Ferhat , Yes if you have two output varibales , then the MSE will be MSE = (|op1 - targ1|^2 + |op2 - targ2|^2 ) / 2

2 months ago | 0

| accepted

What is the best way to append double arrays while working in a loop?
Hi Tobias, My understanding is that you want to concatenate the double array to a struct/table and by "double array" you mean a...

2 months ago | 0

How do I make the time control program run?
Hi Li For making Time controlled Program run , I suggest you to have a look at tic toc. But My understanding is that , your co...

2 months ago | 0

| accepted

How to combine multiplot in the same graph using Simulink 2020
Hi, You can directly see the graph in Simulink using scope . Also I don't understand what you meant by ex data. You should be a...

2 months ago | 0

Simulation runs fine despite error (index out of bounds)
Hi , I also run the example you described, I am also getting the error you described but my simulation is not running after the...

2 months ago | 0

nlinfit fitting error approaching infinity
Hi Muhannad Fadhel, From my understanding , your initial values of the parameters seems to be problem since you are using expon...

2 months ago | 0

Unable to entry the license key at installation
Hi Florian, I see there are multiple issue you are facing , I will try to answer all of them one by one: 1) Issue regarding F...

2 months ago | 1

Hi Ciaram, Refer to the pie chart documentation.I think you want to do something like this : malecount = 45; femalecount = 6...

2 months ago | 0

Check for missing argument or incorrect argument data type in call to function 'solve'. error
Hi Aleem, Refer to this solve documentation. Here as you can need to define a as the symbolic variable fThis Here is an exam...

2 months ago | 0

Convert a tridimensional array into a cell
Hi Sergio, You can use num2cell. >> a = ones(4,4,5); >> p = num2cell(a,3); >> p p = 4×4 cell array {1×1×5 dou...

2 months ago | 0

How to perform nonlinear regression accross multiple datasets
Hi Jack, The following post on MATLAB Answers discusses a similar case: http://www.mathworks.com/matlabcentral/answers/1056-no...

2 months ago | 0

| accepted

Can't uninstall matlab 2020a/2020b
Hi Zhimei, It's not clear to me whether you want to install the matlab completly or want to uninstall partilcular toolbox , so ...

3 months ago | 0

| accepted

How do I view the actual generated C code from a simulink model?
Hi Joshua, Your Generated report should look like this : The C code would be under the Generated code section. The Genera...

3 months ago | 0

Data from simulink to python with "To Workspace" block
Hi Patrick, Out is the variable which store the output of the To workspace block. By default the variable would be if type of...

3 months ago | 0

| accepted

How to Resize 2D Plot Box?
Hi David, Since I don't have much detail on your question , I can guess what you would be doing wrong.You might setting the dat...

3 months ago | 0

How to plot polygon from shapefile in Matlab
Hi Yoni , shaperead only Read vector features and attributes from shapefile, it won't plot those data. To plot those shapefi...

3 months ago | 0

How do I rotate a 3D scatterplot automatically around the x-axis?
Hi Pooja, From my understnading you want to rotate a 3d scatter plot programatically. For surface, line plot MATLAB have rotate...

3 months ago | 0

How can I get a script to run at a certain time every day using Windows 10 Task Scheduler?
Hi Jonathan, The command should be matlab.exe -r "run <filePath>" so in your case , command should be matlab.exe -r "run C...

3 months ago | 0

| accepted

HOW TO SOLVE THIS ERROR:Undefined function 'getRawData' for input arguments of type 'struct'
Hi Drishya, It would help us to investigate further if you specify more details about how you are getting this error. From my...

3 months ago | 0

How do I open Oracle Lite ODB Files in Matlab
Hi Terry, This is the list of File Format supported for Import and Export in MATLAB. As we can see .odb and .obs are not men...

3 months ago | 0