How can I create an array of symbolic matrices?

1 回表示 (過去 30 日間)
Yaseen Abdel Moneim Sabry El-Zawahry
Yaseen Abdel Moneim Sabry El-Zawahry 2018 年 5 月 16 日
回答済み: KSSV 2018 年 5 月 16 日
I need to create an array of symbolic matrices. But when I try this code:
syms a b c
x(6) = [a b; c 0]
Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.

採用された回答

KSSV
KSSV 2018 年 5 月 16 日
Use it as a cell...
syms a b c
x{6} = [a b; c 0]

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by