else statement is showing error
Ältere Kommentare anzeigen
can any one tell me why the else statement is showing an error in my code
for Re1=3000 if x<Re1 f1=mc+cof+((Re1-x)*0.18)-(x*0.18)-(Rh1*0.05); end else f1=mc+cof-(Re1*0.18)-(Rh1*0.05); end end
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!