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

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.

Asked:

on 8 Jul 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!