matlab matrix multiple with letter variable

조회 수: 1 (최근 30일)
chen tianle
chen tianle 2021년 8월 12일
편집: Awais Saeed 2021년 8월 12일
is there anyway to mutliple matrix with any unknown number ?

답변 (1개)

Awais Saeed
Awais Saeed 2021년 8월 12일
편집: Awais Saeed 2021년 8월 12일
I think storing numeric and character data together is only possible with cell arrays. However, it would be good for storing them only as doing any calculation with mixed data type matrix would cause errors.
A = [1 0 0 0; 0 0 1 0; -3 3 -2 -1; 2 -2 1 1];
syms x
B= [0 0 x 6];
B.*A

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by