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?

 Akzeptierte Antwort

Star Strider
Star Strider am 12 Okt. 2014

0 Stimmen

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

Weitere Antworten (0)

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by