# Divija Aleti

### MathWorks

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**

**MATLAB Answers**

**0** Questions

**65** Answers

RANK**635**

of 277 780

REPUTATION**104**

CONTRIBUTIONS

**0** Questions

**65** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**10**

RANK

of 18 795

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 128 969

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

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

nästan 2 år ago | 0

| accepted

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

nästan 2 år ago | 0

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

nästan 2 år ago | 0

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

nästan 2 år ago | 0

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

nästan 2 år ago | 0

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

nästan 2 år ago | 0

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

nästan 2 år ago | 0

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

nästan 2 år ago | 0

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

nästan 2 år ago | 0

| accepted

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

nästan 2 år ago | 0

| accepted

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

nästan 2 år ago | 0

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

nästan 2 år ago | 1

| accepted

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

nästan 2 år ago | 0

| accepted

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

ungefär 2 år ago | 0

mpsread - fixed variables

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

ungefär 2 år ago | 0

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

ungefär 2 år ago | 0

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

ungefär 2 år ago | 0

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

ungefär 2 år ago | 0

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

ungefär 2 år ago | 0

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

ungefär 2 år ago | 0

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

ungefär 2 år ago | 0

| accepted

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

ungefär 2 år ago | 0

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

ungefär 2 år ago | 1

| accepted

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

ungefär 2 år ago | 0

| accepted

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

ungefär 2 år ago | 0

| accepted

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

ungefär 2 år ago | 0

| accepted

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

ungefär 2 år ago | 0

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

ungefär 2 år ago | 0

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

ungefär 2 år ago | 0

| accepted

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

ungefär 2 år ago | 0