function on a symbolic vector field.

1 visualización (últimos 30 días)
edamondo
edamondo el 22 de Oct. de 2016
Hello,
x(t) is a symbolic vector field x(t)=[x1(t),x2(t),...,x8(t)] how to define a function handle f=@(x) x(1:3)? This is, if I call y=f(x) it returns a symbolic function y(t)=[x1(t),x2(t),x3(t)] and I can then evaluate y(2)=[x1(2),x2(2),x3(2)] and so on.
What is the right way to do this?

Respuestas (0)

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by