JD

Last seen: 3년 초과 전 2019년부터 활동

Followers: 0   Following: 0

배지 보기

Feeds

보기 기준

질문

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

3년 초과 전 | 답변 수: 2 | 0

2

답변

질문

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

3년 초과 전 | 답변 수: 2 | 0

2

답변

질문

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

거의 4년 전 | 답변 수: 2 | 0

2

답변

질문

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

4년 초과 전 | 답변 수: 1 | 0

1

답변

질문

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

거의 5년 전 | 답변 수: 1 | 0

1

답변

질문

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

거의 5년 전 | 답변 수: 2 | 0

2

답변

질문

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

거의 5년 전 | 답변 수: 1 | 1

1

답변

질문

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

거의 5년 전 | 답변 수: 2 | 0

2

답변

질문

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

거의 5년 전 | 답변 수: 1 | 0

1

답변

질문

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

거의 5년 전 | 답변 수: 1 | 0

1

답변

질문

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

거의 5년 전 | 답변 수: 1 | 0

답변