According to my understanding you want to store the output value “final” at each time step in an array instead of just saving th...

innerjoin of table of tables
You may do this by converting table of tables into table of arrays using “table2array” as follows: a = cellfun(@(x)table(x,'va...

How to draw a tangent line on a step response diagram
You can draw a tangent to a step response curve at a particular point as follows: sys = tf([8 18 32],[1 6 14 24]); % Transfer f...

How can I get the array from a workspace block to plot it in guide?
The following example might help you: % To open the example, run the following commands cd(setupExample('matlab/GuidePlotWo...

Modifying the contour plot from ksdensity
Hi, As you are directly plotting using “ksdensity” function, you may not be able to change properties of plot. Instead of that...

| accepted

Multiple equations solving in MATLAB
Hi, You may use “fsolve” and “solve” functions to solve system of non-linear equations and linear equations respectively. Refe...

Importing a SIMULINK model to workspace and using the model for output generation
Hi, According to my understanding, you are trying to run a SIMULINK model with different values each time one after other, fro...

How to get numbers from rows in a matrix, to separate vectors?
According to my understanding you are trying to get the count of numbers in each row and save it in another vector. You can use ...

I can't create State Space Full Feedback Control structure in Simulink
Yes, “Multiply” Block accepts single Input only. You may have to do as follows: Place a “sum” block with List of signs as “|+-”...

Saving MATLAB path breaks the permission for "pathdef.m"

Symbol in a numeric array
Numeric arrays can never contain strings or characters. It takes the ASCII value of that character if you try to replace an elem...

Matlab 2019b not working mac OS Catalina - Start desktop error
Hi, One of the things you can do is try to go into safe boot. To enter safe boot, follow these steps: Start or restart your...

Filter Designer to create FIR filters
You can design FIR filter with specific windowing technique using fir1 function in MATLAB. As an example, for Hamming window: ...

| accepted

Matlab 2019b not working mac OS Catalina - Start desktop error
You can contact the MathWorks support team to help you solve this issue www.mathworks.com/support/contact_us/

Failure to connect to external program (STK11)

Save parameters at each ODE iteration
As per my understanding, you want to save the vector "p" of each iteration. To do this, you can initialize a matrix, let “store”...

How can i find Gauss Quadrature Based on Hermite Polynomials's abscissa and weight factor?
There is a function available in MATLAB File Exchange that might help you. Here is the link: https://www.mathworks.com/matlabc...

programming dji tello drone with matlab / simulink

Plotting graph to represent positive/negative roots of polynomial.
As per my understanding you want to plot the points(roots) using different colors according to sign of both the roots. One of th...

How to obtain the parameters of more than one mask at the same time
Use the following command to get the list of mask parameters of a block: get_param('model/sub_block', 'DialogParameters') To...

| accepted

Mistake in fft() help (calculation of single-sided spectrum)?

How can I upload an excel file into a website?
You may use “webwrite” function to do this. Refer the following document link for detailed understanding on “webwrite” : https...

I have heard that this issue is known, and the concerned parties may be investigating further.

How can I assign labels to my geo scatter plot?
You can apply different data labels to each point on “geoscatter” plot by using the “text” command. The command “text” takes the...

Cell computations - for loop
You can add another “for” loop and use a cell array to store the result. Folllowings a sample code: m = repmat({zeros(1,1)},1,4...

| accepted

ifft one side spectrum to get a real signal
“ifft” of that vectors which have symmetric complex conjugate structure will result in real values. Also, you may specify the...

| accepted

Extracting 2 coloumns from diifferent excel files, and trying to plot them
As per my understanding you want to plot data of each excel sheet separately. You can use ”figure()” in the "for" loop to do th...