Community Profile

# Divija Aleti

### MathWorks

Last seen: oltre un anno fa Attivo dal 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.

#### Content Feed

Visto da

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

oltre un anno fa | 0

| accettato

Risposto
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 /...

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 0

Risposto
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:...

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 0

| accettato

Risposto
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(...

oltre un anno fa | 0

| accettato

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

oltre un anno fa | 0

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

oltre un anno fa | 1

| accettato

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

oltre un anno fa | 0

| accettato

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

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 0

Risposto
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: ...

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 0

| accettato

Risposto
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])...

oltre un anno fa | 0

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

oltre un anno fa | 1

| accettato

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

oltre un anno fa | 0

| accettato

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

oltre un anno fa | 0

| accettato

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

oltre un anno fa | 0

| accettato

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

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 0

| accettato

Risposto
Solving symbolic equation using vpasolve
Hi Alessandro, The "int" function cannot solve all integrals since symbolic integration is such a complicated task. It is also ...

oltre un anno fa | 0