Community Profile

photo

Omar Ahmad AL Bloushi


Last seen: 7 months ago Active since 2021

Statistics

Content Feed

View by

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

7 months ago | 1 answer | 0

1

answer

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

7 months ago | 1 answer | 0

1

answer

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

7 months ago | 1 answer | 0

1

answer