Community Profile

photo

Deepak Meena

MathWorks

Last seen: 2 years ago Active 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

Statistics

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

View badges

Content Feed

View by

Answered
Is MATLAB engine API for Python package publicly available?
Hi , I contacted the developer regarding this and I was informed that we don't share source code publicly but the Python files...

2 years ago | 0

| accepted

Answered
the code that works manually but don't work at all with loop
Hi, I tried to reproduce the error but you haven't mentioned the values such as a_dates , a_HUC12. Also mention the error me...

2 years ago | 0

Answered
Problem in Simulink Onramp
HI, I try to reproduce the issue on the online version and as well on the downloaded version as well. I was able to move forwar...

2 years ago | 1

Answered
Problem in parallel computing (par for)
Hi , I tried to reproduce the error , you mentioned the code works fine without the parfor command but in my case it is giving ...

2 years ago | 0

Answered
Matlab2020b version error - readonly Brace indexing is not supported for variables of this type
Hi, Do try the solution provided by the @Walter Roberson in the comments and also explain what exactly you meant by "opening th...

2 years ago | 0

Answered
Parallel Cluster Profile Validation fails on Job test
Hi, Judging by your log output , you are able to connnect to the cluster but the job task is getting failed. Try to follow the ...

2 years ago | 0

Answered
Shut down parallel pool - only working for parfeval() but not spmd
Hi, delete(gcp) works with spmd as well. Try: spmd,workers=labindex,end delete(gcp) This will shut down the current pa...

2 years ago | 0

Answered
How can I punt Link in URI
Hi, From my understanding you want to use matlab functions such as URI and send from the python. But this is not the correct wa...

2 years ago | 0

Answered
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, ...

3 years ago | 0

| accepted

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

3 years ago | 1

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

3 years ago | 0

Answered
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...

3 years ago | 0

Answered
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...

3 years ago | 0

Answered
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 , ...

3 years ago | 0

Answered
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...

3 years ago | 0

Answered
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...

3 years ago | 0

| accepted

Answered
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

3 years ago | 0

| accepted

Answered
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...

3 years ago | 0

Answered
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...

3 years ago | 0

| accepted

Answered
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...

3 years ago | 0

Answered
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...

3 years ago | 0

Answered
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...

3 years ago | 0

Answered
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...

3 years ago | 1

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

3 years ago | 0

Answered
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...

3 years ago | 0

Answered
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...

3 years ago | 0

Answered
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...

3 years ago | 0

| accepted

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 0

| accepted

Load more