Where is the error in prompt function in this code?
Ältere Kommentare anzeigen
for i= 1:4
disp (['enter an angle in degrees']);
x = input(prompt)
y(x) = cos (x);
plot (x,y);
end
y
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Startup and Shutdown 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!