How can i plot this function?
Ältere Kommentare anzeigen
y=(1/4)t*sin(2t)
I am getting a straight line with this code t = [0, .1, 50]; y = .25.*(t).* sin(2*(t)); figure; plot(t,y); xlabel('t'); ylabel('y'); title('A function')
but I am not sure why is is wrong
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Graphics 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!