how to insert symbols to an for loop

3 ビュー (過去 30 日間)
mc18004
mc18004 2019 年 12 月 28 日
コメント済み: KALYAN ACHARJYA 2019 年 12 月 28 日
sym a
b = [ ]
for n = 1:5
b (n) = a*n
end

回答 (1 件)

KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 12 月 28 日
編集済み: KALYAN ACHARJYA 2019 年 12 月 28 日
  1 件のコメント
KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 12 月 28 日
Please read here difference between symbolic and non symbolic variables.

サインインしてコメントする。

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by