# JD

Followers: 0 Following: 0

**Statistics**

**MATLAB Answers**

**11** Questions

**0** Answers

RANK**30,616**

of 295,040

REPUTATION**1**

CONTRIBUTIONS

**11** Questions

**0** Answers

ANSWER ACCEPTANCE **
81.82%
**

VOTES RECEIVED**1**

RANK

of 20,168

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 153,105

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

**Feeds**

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

3 years ago | 2 answers | 0

### 2

answersQuestion

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 years ago | 2 answers | 0

### 2

answersQuestion

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 years ago | 2 answers | 0

### 2

answersQuestion

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 years ago | 1 answer | 0

### 1

answerQuestion

'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 years ago | 1 answer | 0

### 1

answerQuestion

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 years ago | 2 answers | 0

### 2

answersQuestion

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 years ago | 1 answer | 1

### 1

answerQuestion

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 years ago | 2 answers | 0

### 2

answersQuestion

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 years ago | 1 answer | 0

### 1

answerQuestion

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 years ago | 1 answer | 0

### 1

answerQuestion

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 years ago | 1 answer | 0