Community Profile # Alec Carruthers

8 2017 年以降の合計貢献数

While Loop indexing help.
First off, My code is 600+ lines long so I cannot post the entire script. Here is my setup for nested while loops: count =...

2年弱 前 | 0 件の回答 | 0

### 0

How to fix "Subscripted assignment dimension mismatch," in a for loop?
for k=1:length(index) syms w W_TO(k) = vpasolve(((C1(k)+C5(k))*(w^1.195))+(C2*(w^.235))+((C3+C4(k)+C6(k)+C7+C10...

2年弱 前 | 1 件の回答 | 0

### 1

Nested For loop with Cell Arrays
This code runs ok with one for loop, but when I introduce a for loop for "AR" within the original, I get an error of: "Out of ...

2年弱 前 | 2 件の回答 | 0

### 2

How to compare elements in an array?
My for loop cycles through a series of initial CL values and then a lot of calculations are done and I get final values for CL "...

2年弱 前 | 1 件の回答 | 1

### 1

How do I fix an equation in a for loop?
clc; clear; %Design Mission PAX = 250; Cargo = 8000; Range = 7000; %N. Miles DRatio = .9524988; PRa...

2年弱 前 | 1 件の回答 | 0

### 1

How do I fix this error "In an assignment A(:) = B, the number of elements in A and B must be the same."?
clc; clear; %Design Mission PAX = 250; Cargo = 8000; Range = 7000; %N. Miles DRatio = .9524988; PRatio = .23590495; ...

2年弱 前 | 1 件の回答 | 0

### 1

Plotting data from for loop
Here is my code: T=290; R=287; G=1.4; Cv= R/(G-1); e=Cv*T; V= (0:1:1000); Ke= .5*...

3年弱 前 | 1 件の回答 | 0

### 1

How do I remove a certain part of my graph?
I'm trying to plot the specific thrust and specific fuel consumption on the same graph. I have horizontal lines that start the g...

3年弱 前 | 1 件の回答 | 0