Para error at END

3 ビュー (過去 30 日間)
jose robertoo gonzalez carreon
jose robertoo gonzalez carreon 2019 年 3 月 19 日
編集済み: madhan ravi 2019 年 3 月 20 日
now calculate v_phase for each level of current ii = 1:21
v_phase (ii)= sqrt(e_a^2 - (x_s * i_a(ii) * cod(theta))^2) - (x_s * i_a(ii) * sin(theta));
end
this of above says "Parse error at END: usage might be invalid MATLAB syntax"

回答 (1 件)

madhan ravi
madhan ravi 2019 年 3 月 20 日
編集済み: madhan ravi 2019 年 3 月 20 日
The loop has for missing at the beginning should be
for ii = 1:21
cos() not cod().

カテゴリ

Help Center および File ExchangeEntering Commands についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by