About plotting piecewise function.
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
HUIDONG XIE
am 30 Jan. 2018
Beantwortet: Star Strider
am 30 Jan. 2018

why Matlab says index exceeds matrix dimensions at line 3? Thanks
0 Kommentare
Akzeptierte Antwort
Star Strider
am 30 Jan. 2018
See if using:
for k = 1:length(t)
instead, works correctly in your code.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Elementary Math 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!