How do I pull a value out of a different equation @ a specific value
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Bryce Johnson
am 3 Okt. 2019
Kommentiert: Bryce Johnson
am 3 Okt. 2019
I am trying to find the value of D @ time Tmin but in my mind I think it should go like Tmin(D) but it says indices must be positive intgers or logical values.
function[Tmin,Dt] = Tension(Lb,Lc,W,Dmin,Dmax)
D = linspace(Dmin,Dmax,20);
T = (Lb*Lc*W)./(D.*sqrt(Lc^2-D.^2));
Tmin = min(T);
Dt = T(Tmin);
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Argument Definitions finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!