This is why naming variables is a bad idea. Look https://www.mathworks.com/matlabcentral/answers/304528-tutorial-why-variables-should-not-be-named-dynamically-eval
変数名が連続的なときのfor文を用いたプロット
조회 수: 9 (최근 30일)
이전 댓글 표시
変数名がO1,O2,O3,...とOのあとの数字が連続的になっているとき,for文を用いてプロットすることはできるでしょうか。
evalを用いればできるのではないかと思うのですが,O1,O2,O3が行列の場合,どのようにプロットしたい箇所を指定すればよいのか
分かりません。
宜しくお願い致します。
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!