photo

Alec Carruthers


Actif depuis 2017

Followers: 0   Following: 0

Statistiques

Feeds

Afficher par

Question


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

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

0

réponse

Question


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

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

1

réponse

Question


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

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

2

réponses

Question


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

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

1

réponse

Question


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

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

1

réponse

Question


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

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

1

réponse

Question


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

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

1

réponse

Question


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

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

1

réponse