How can I create an array of symbolic matrices?

조회 수: 2 (최근 30일)
Yaseen Abdel Moneim Sabry El-Zawahry
답변: 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 CenterFile Exchange에서 Number Theory에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by