function on a symbolic vector field.

1 visualizzazione (ultimi 30 giorni)
edamondo
edamondo il 22 Ott 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?

Risposte (0)

Categorie

Scopri di più su Symbolic Math Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by