Community Profile

photo

JD


Last seen: presque 3 ans il y a Actif depuis 2019

Statistiques

  • Thankful Level 3

Afficher les badges

Content Feed

Afficher par

Question


Saving output of for loop after each iteration (for a function)
y = 0:0.05:1; u= 2*y-(2*y.^3)+y.^4; a = 0:0.01:1; b = 4000; Carray=zeros(1,101) for i=1:size(a) c=A_function(y,...

presque 3 ans il y a | 2 réponses | 0

2

réponses

Question


Array size decreases with every iteration
Hi, I have an array A of size 500,000 x 1 I want to make multiple new arrays by dropping the 1st row, 2nd row, 3rd row etc. ...

environ 3 ans il y a | 2 réponses | 0

2

réponses

Question


Multiple Iterations over a system of linear equations
Hello all. I am trying to solve the system of linear equations define by CX = K over multiple iterations (300*delta_t). But my p...

plus de 3 ans il y a | 2 réponses | 0

2

réponses

Question


Peak Value from bodemag plot
I am trying to calculate the peak value of the bodemag plot. Attached is the code I am trying to use [gpeak,fpeak] = getPeakGa...

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question


'trapz' to find area under curve not working
.fig file attached. For all positive y values, I want to find the area under the graph. if y>0 for x = length(y) i...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Plotting on .fig file (in new window if possible)
Hello, I am trying to open a figure and plot additional data on it. The figure was given to me as a .fig file so I do not have...

plus de 4 ans il y a | 2 réponses | 0

2

réponses

Question


How to interpolate ‘z’ for one value of ‘x’ but multiple values of y?
I have an array x of size 1x56 An array y of size 1x20 And an array z of size (20x56) I want to interpolate to find ‘z’ for...

plus de 4 ans il y a | 1 réponse | 1

1

réponse

Question


Plotting multiple 3D plots on one graph
Hi, I have the following code. I want to plot all 7 on the same plot. How do I do that? I tried hold on, but that gives me an...

plus de 4 ans il y a | 2 réponses | 0

2

réponses

Question


How to compute equation only for x(y>0)
Hello, I have time, t on the x axis and power, Pw on the y axis. I want to compute the following equations for only times, t w...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


How to reference a variable saved as .mat file to execute code
So I have a variable named cyc_mph that is a 1370x2 double. This data is stored as a .mat file. The first column in the variab...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Help needed: empty plot when plotting for loop
Hello, Below is my code. I am trying to plot all values of the for loop but I am getting an empty plot. What am I doing inco...

plus de 4 ans il y a | 1 réponse | 0

1

réponse