function on a symbolic vector field.
1 view (last 30 days)
Show older comments
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?
0 Comments
Answers (0)
See Also
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!