How to plot a symbolic function?

6 Ansichten (letzte 30 Tage)
Max
Max am 22 Jan. 2016
Kommentiert: Walter Roberson am 22 Jan. 2016
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?

Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by