How to plot a symbolic function?
Afficher commentaires plus anciens
Hey guys,
I would like to plot the following integral of a symbolic function:
beta_hat = 4.2915822
B_hat = 1861.6186657
C_hat = 58.9848692
syms t
y(t) = (exp(-B_hat/((heaviside(t)-heaviside(t-2000))*(330)+(heaviside(t-2000)-heaviside(t-3000))*(350)+...
(heaviside(t-3000)-heaviside(t-14000))*(390))))/C_hat;
I_new = int(y,t,[0,t])
f_new = (beta_hat*y(t).*(I_new(t)).^(beta_hat-1)).*exp(-((I_new(t)).^beta_hat))
ezplot(f_new,[0,4000])
But it doesn´t work. Does anybody have an idea, why?
2 commentaires
Walter Roberson
le 22 Jan 2016
You might need to
ezplot(matlabFunction(f_new),[0, 4000])
Réponses (0)
Catégories
En savoir plus sur MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!