About plotting piecewise function.

8 ビュー (過去 30 日間)
HUIDONG XIE
HUIDONG XIE 2018 年 1 月 30 日
回答済み: Star Strider 2018 年 1 月 30 日
why Matlab says index exceeds matrix dimensions at line 3? Thanks

採用された回答

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeElementary Math についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by