what's wrong in my code?
古いコメントを表示
採用された回答
その他の回答 (1 件)
Walter Roberson
2021 年 11 月 27 日
1 投票
You created y as a symbolic function, syms y(t)
You try to assign to ySol(y) . But y is a function, and you cannot index by a function.
You could assign to ySol(t)
カテゴリ
ヘルプ センター および File Exchange で Functions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


