About plotting piecewise function.

2 Ansichten (letzte 30 Tage)
HUIDONG XIE
HUIDONG XIE am 30 Jan. 2018
Beantwortet: Star Strider am 30 Jan. 2018
why Matlab says index exceeds matrix dimensions at line 3? Thanks

Akzeptierte Antwort

Star Strider
Star Strider am 30 Jan. 2018
See if using:
for k = 1:length(t)
instead, works correctly in your code.

Weitere Antworten (0)

Kategorien

Mehr zu Elementary Math finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by