Info

This question is closed. Reopen it to edit or answer.

vector substitution, d=subs(c,t) doesn't works

1 view (last 30 days)
Jonghun
Jonghun on 8 Jul 2013
Closed: MATLAB Answer Bot on 20 Aug 2021
code:
syms t;
a='t^2+t*sin(t)+3'
b=eval(a);
c=vectorize(b);
t=0:0.01:10;
d=subs(c,t)
I want to get matrix 'd' by substitution.
but "d=subs(c,t)" doesn't works
How I can fix this problem?

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!