Community Profile # Divija Aleti

### MathWorks

Last seen: 26 días hace Con actividad desde 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.

• • • • Ver insignias

#### Content Feed

Ver por

Respondida
Should Behavior of sub2ind() be Different for Symbolic and Numeric Inputs?
Hi Paul, The development team is working on resolving this issue. A task has been created for our development team about the bu...

alrededor de 2 años hace | 0

Respondida
Reading text and data from excel
Hi Austin, You can try using the following tool: Import Tool This can produce outputs as tables rather than a rigid numeric /...

más de 2 años hace | 0

Respondida
BVP4C Unable to solve the collocation equations -- a singular Jacobian encountered
Hi Luke, A singular Jacobian indicates that the initial guess causes the solution to diverge. The BVP4C function finds the solu...

más de 2 años hace | 0

Respondida
For loop to plot mutiple x and y arrays on the same plot
Hi Brandon, From my understanding, you are first trying to plot two specific variables against each other and then two differen...

más de 2 años hace | 0

Respondida
Stochastic delay differantial equations
Hi Miray, The error is occurring in the line where you are using the plot function. This is because the values you have given t...

más de 2 años hace | 0

Respondida
Find the meaning of each line of code
Hi Surendra, As KSSV mentioned, do read the documentation of each function used in the code. It will be self-explanatory. I am...

más de 2 años hace | 0

Respondida
how can i plot R2(regression line) between target and prediction
Hi, Firstly, as R2 is a scalar, it cannot be plotted. To plot the regression line, follow the example shown in the link below:...

más de 2 años hace | 0

Respondida
Start state is not valid based on planner's state validator
Hi Kashish, From the figure, I can see that your map's x-bounds are [-40 40] and y-bounds are [-25 25]. The coordinates of you...

más de 2 años hace | 0

Respondida
Calculating duration in large dataset based on conditions
Hi Matt, As far as I understand, the code given by Salah will help you solve your issue. I can try to explain it more clearly w...

más de 2 años hace | 0

Respondida
bvp4c's guess for boundary conditions
Hi Bobby, In the case mentioned above, the first element of yinit corresponds to z1 (which is the entire solution y) and not y(...

más de 2 años hace | 0

Respondida
How do I plot a 3D grid from a 3D matrix?
Hi Uday, You can create an empty 3D Occupancy map using the occupancyMap3D function. Then, you can use the setOccupancy objec...

más de 2 años hace | 0

Respondida
How to plot a specific data range in a xlsx-file
Hi Hendrik, The input array to the function 'fft' can be either a vector or a matrix. Firstly, you can create a table using the...

más de 2 años hace | 1

Respondida
int of symbolic function not returning the integral
Hi Liam, The "int" function cannot solve all integrals since symbolic integration is such a complicated task. It is also possib...

más de 2 años hace | 0

Respondida
Need help using contourfm in Map plotting
Hi Leon, The syntax for using the 'contourfm' function is different from that of the 'contourf' function. This is why you are g...

más de 2 años hace | 0

Respondida
Hi Lucrezia, The following syntax will read data for LP and MILP problems from the MPS file 'file.mps' and return the data in a...

más de 2 años hace | 0

Respondida
How can I correct this error?
Hi Kangmin, Have a look at the following snapshot of your code: The matrix above the blue line and the matrix above the red ...

más de 2 años hace | 0

Respondida
How to solve the Error: Warning: Failure at t=6.081492e-07. Unable to meet integration tolerances without reducing the step size below the smallest value allowed (2.160580e-21) at time t. > In ode23s (line 401)
Hi Drishya, This error can occur due to several reasons: Your function might be creating a singularity or any other discontinu...

más de 2 años hace | 0

Respondida
how to plot the functions
Hi Harsh, One way of plotting the functions is by using the "isosurface" function. Have a look at the following example code: ...

más de 2 años hace | 0

Respondida
Define function for a transfer function
Hi Vinit, From my understanding, 'X' is a vector containing 'a', 'b', 'c', 'd' which are scalars. As these are scalars, you do ...

más de 2 años hace | 0

Respondida
Getting this error - Index exceeds the number of array elements (0). quant(keymat(Nm*(ii-1)+jj))=bitset(quant(keymat(Nm*(ii-1)+jj)),1,str2double(tempcipher(ii,jj))); for DCT steganography
Hi Talha, As I do not have the images you have used, I am unable to run your code. But I can tell you the meaning of the error....

más de 2 años hace | 0

Respondida
Solving a system of ODE with BCs
Hi Elia, The following link gives an example of how to solve a system of two first-order differential equations with boundary c...

más de 2 años hace | 0

Respondida
Normalise data set in 2d plot
Hi Tiernan, After you finish plotting, you can specify the limits of y-axis by adding the following line of code: ylim([-1 1])...

más de 2 años hace | 0

Respondida
Difference between plotting 3D Graphs (Curve vs Area)
Hi Niklas, Firstly, the difference in the two surf plots is because the matrix 'y' is different in both the cases. To understa...

más de 2 años hace | 1

Respondida
Product of one-dimensional integrals, numerical integration
Hi Dimitris, Have a look at the following example code. I have assumed different functions for 'f' and 'g' and integrated their...

más de 2 años hace | 0

Respondida
First Order solving ODE and simulink
Hi Hassan, Firstly, as you are defining all the variables inside the function, you do not need to pass them as the function's a...

más de 2 años hace | 0

Respondida
Symbolic Linear system returns wrong solution.
Hi Tiago, I understand that you are getting wrong solutions but there is nothing wrong with the working of the code. I suggest ...

más de 2 años hace | 0

Respondida
Symbolic integration, numerical integration, singularity
Hi Pengpeng, The "int" function cannot solve all integrals since symbolic integration is such a complicated task. It is also po...

más de 2 años hace | 0

Respondida
Push Button help!
Hi Priyana, There is a slight change in syntax that you need to make for the ButtonPushedFcn. Assuming that when Button 1 is p...

más de 2 años hace | 0

Respondida
Resume from latest Randstream
Hi Sebastian, Setting the seed of "rng" to 'shuffle' helps getting different sequence of random numbers after each call to rng,...

más de 2 años hace | 0