how can i find the roots

1 visualizzazione (ultimi 30 giorni)
andreas christou
andreas christou il 26 Mar 2019
Risposto: James Tursa il 26 Mar 2019
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]);

Risposte (1)

James Tursa
James Tursa il 26 Mar 2019
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

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by