why Matlab says index exceeds matrix dimensions at line 3? Thanks

 採用された回答

Star Strider
Star Strider 2018 年 1 月 30 日

0 投票

See if using:
for k = 1:length(t)
instead, works correctly in your code.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeElementary Math についてさらに検索

タグ

質問済み:

2018 年 1 月 30 日

回答済み:

2018 年 1 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by