I would like to define a symbolic vector like y = [0 1]*x where x is [x1 ; x2]. So basically y actually equals to x2. Is it possible?

 채택된 답변

Star Strider
Star Strider 2014년 10월 12일

0 개 추천

Yes!
syms x1 x2
x = [x1; x2]
y = [0 1]*x
produces:
y =
x2

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

질문:

2014년 10월 12일

답변:

2014년 10월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by