How to plot a symbolic function?
Show older comments
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?
Answers (0)
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!