Community Profile

photo

Divija Aleti


Last seen: Today

MathWorks

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

Divija Aleti's Badges

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

View details...

Contributions in
View by

Answered
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 8 timmar ago | 0

Answered
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 21 timmar ago | 0

Answered
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 23 timmar ago | 0

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

en dag ago | 0

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

en dag ago | 0

| accepted

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

en dag ago | 0

Answered
Plotting Implicit Function in Polar Coordinate
Hi Teerapong, Have a look at the following links: https://www.mathworks.com/help/matlab/ref/cart2pol.html https://www.mathwor...

3 månader ago | 0

Answered
Changing CData values for a surf plot.
Hi Ali, Have a look at the following link: https://www.mathworks.com/help/matlab/creating_plots/how-surface-plot-data-relates-...

3 månader ago | 0

Answered
Error in port widths or dimensions using simulink -PS converter block
Hi Anupam, Have a look at the following link: https://www.mathworks.com/matlabcentral/answers/248904-error-in-port-widths-or-d...

3 månader ago | 0

Answered
How to formulate elegantly and performant functions that depend on a lot of input variables
Hi Ferdinand, Have a look at the Accepted Answer (and the comment under it) for the question posed in the following link: Pass...

3 månader ago | 0

Answered
Please help to solve the following equations by the Newton–Raphson method
Hi, Have a look at the following code which solves the above mentioned equations by Newton-Raphson Method : clc;clear;close a...

3 månader ago | 0

Answered
Radius and centre of curvature
Hi Nagaraj, You will have to first change your equation to the form of y = f(x) and then use the formulae to find the radius an...

3 månader ago | 0

| accepted

Answered
Function 'subs' different output for a (similar?) input
Hi Bobby, syms F(t) The above command implies that 'F' is a symbolic function. Hence, the command invF0=subs(invF(t)) does...

3 månader ago | 0

| accepted

Answered
Adding Legend to Subplot
Hi Ollie, I understand that you want to be able to copy the legends of the figures, along with their plots, into the subplot bu...

3 månader ago | 0

Answered
how to plot them together and get their equations and make a legend for them ?
Hi Tomer, I understand that you want to plot both the models in one figure and get the equations for both of them. I have bro...

3 månader ago | 0

Answered
How to Solve Second Order ODE with 2 dependent variables
Hi Yanuar, Two second order ODE's can directly be solved by using 'dsolve'. Have a look at the following code: syms x(t) y(t) ...

3 månader ago | 0

Answered
Check for missing argument or incorrect argument data type in call to function 'bode'
Hi Alejandro, As both ARK and Adam mentioned, do check out the documentation for 'bode' function to know the valid syntax. As...

3 månader ago | 0

Answered
Discretization method used in MPC
Hi Hossam, The following link gives information on the discretization method used by a non-linear MPC Controller: Specify Pred...

3 månader ago | 0

Answered
In the editor, my "run" icon shows "pause"
Hi David, Adding to ARK's comment, whenever the code takes a long time to run, the 'run' icon changes to the 'pause' icon. This...

3 månader ago | 1

| accepted

Answered
Please help solve and plot the solutions to an equation
Hi Alexander, Have a look at the following code. It shows one of the ways by which you can solve your question. D2 = 11.4; H...

3 månader ago | 0

| accepted

Answered
Putting Annotation in 3D Space - seems impossible
Hi Oliver, The annotation function with the same syntax - 'a= annotation('textarrow',x,y,'String','Write text here');' can be u...

5 månader ago | 0

| accepted

Answered
Select cells in heatmap
Hi Ilyass, You can change the 'ColorLimits' property of the HeatmapChart so that all the values of 'cdata' that are equal to an...

5 månader ago | 0

Answered
How can I store the values of step response function in array which has time delay ?
Hi, Have a look at the following code which will give you the desired output. num = [0.5 1]; den = [6 23.5 35.5 25.5 8.5 1]; ...

5 månader ago | 0

Answered
How can I multiply matrices using a for loop then extract their elements after the loop?
Hi Stephen, I understand that you want to use the elements of the matrix obtained after each iteration to calculate other value...

5 månader ago | 0

Answered
rounding and displaying datetime in plot x-axis
Hi Joel, In the code for 'option 2' which you have given above, replace ax.XTickLabel = datestr(linspace(xtick_start,xtick_...

5 månader ago | 0

| accepted

Answered
how to generate a reference signal from the Driving Scenario Designer App?
Hello, Once you are done building your scenario, place a sensor on your Actor, change the 'Update Interval (ms)' as required an...

5 månader ago | 0

Answered
Slope equation for plot of best fit line
Hi Jayashree, Once you have your plot, go to Tools->Basic Fitting from the menu bar in the figure window. Then select Linear. Y...

6 månader ago | 0

Answered
Complicated grouped bar legend
Hi Daniel, Have a look at the following example to understand how to show bars and line plots in a particular order in the lege...

6 månader ago | 0

Answered
Solving a system of multiple equations (including vector) for multiple variables
Hi, If 'solve' returns empty objects ([0x1 sym]), then it means that no solutions exist for the given set of equations.

6 månader ago | 0

Answered
Struggling with integration.
Hi, I understand that you have the values of 'R2', 'V' and 'D', and you have to solve the equation, 'V=∫pi*(R1+R2-sqrt(R2^2-x^2...

6 månader ago | 1

| accepted

Load more