Community Profile

photo

Omar Ahmad AL Bloushi


Last seen: plus d'un an il y a Actif depuis 2021

Followers: 0   Following: 0

Statistiques

Feeds

Afficher par

Question


can someone help me with this code? there is something wrong and I don't know what it's.
%prameters L = 160 w = 1000 * 2 * pi/60 r = 60 N = 100 th0 = 0 thl = 180 dth = (thl - th0)/N q=r/L l = 1 %calculat...

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

1

réponse

Question


Why do I get "Array indices must be positive integers or logical values" in line 17
%prameters L = 160 w = 1000 * 2 * pi/60 r = 60 N = 100 th0 = 0 thl = 180 dth = (thl - th0)/N q=r/L l = 0 %calculatio...

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

1

réponse

Question


Every time I run this code, I get "Error using plot Vectors must be the same length. Error in ex (line 22)
%prameters L = 160 w = 1000 * 2 * pi/60 r = 60 N = 100 th0 = 0 thl = 180 dth = (thl - th0)/N q=r/L %calculation for ...

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

1

réponse