How to plot a symbolic function?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Walter Roberson
el 22 de En. de 2016
You might need to
ezplot(matlabFunction(f_new),[0, 4000])
Respuestas (0)
Ver también
Categorías
Más información sobre Conversion Between Symbolic and Numeric en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!