how can i find the roots

1 回表示 (過去 30 日間)
andreas christou
andreas christou 2019 年 3 月 26 日
回答済み: James Tursa 2019 年 3 月 26 日
i have that problem and i have to find the roots the range of 0 to 50 the I the matlab export me wrong answers
I= 0:50
roots([0.013 -1*(0.013+I) I]);

回答 (1 件)

James Tursa
James Tursa 2019 年 3 月 26 日
You could wrap it in a loop. E.g.,
for I= 0:50
r = roots([0.013 -1*(0.013+I) I]);
% do something with r here
end

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by