How can I create an array of symbolic matrices?

1 Ansicht (letzte 30 Tage)
Yaseen Abdel Moneim Sabry El-Zawahry
Beantwortet: KSSV am 16 Mai 2018
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.

Akzeptierte Antwort

KSSV
KSSV am 16 Mai 2018
Use it as a cell...
syms a b c
x{6} = [a b; c 0]

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by