want to plot a function
Hi
I want to plot a function
and
the ref plot is
and now I code is
clc
clear
close all;
f=0:10:60;
tk=0.1;
tK=4;
theta0=-0.4;
theta1=0.3;
theta2=13.8/0.2;
for i=(0 0.1 40)
H=(theta0*(tK-tk))+(theta1*(exp(-theta2*tk*i)));
end
plot(f,H)
please help me how do i change my code to fix it?
ThankSHi
I want to plot a function
and
the ref plot is
and now I code is
clc
clear
close all;
f=0:10:60;
tk=0.1;
tK=4;
theta0=-0.4;
theta1=0.3;
theta2=13.8/0.2;
for i=(0 0.1 40)
H=(theta0*(tK-tk))+(theta1*(exp(-theta2*tk*i)));
end
plot(f,H)
please help me how do i change my code to fix it?
ThankS Hi
I want to plot a function
and
the ref plot is
and now I code is
clc
clear
close all;
f=0:10:60;
tk=0.1;
tK=4;
theta0=-0.4;
theta1=0.3;
theta2=13.8/0.2;
for i=(0 0.1 40)
H=(theta0*(tK-tk))+(theta1*(exp(-theta2*tk*i)));
end
plot(f,H)
please help me how do i change my code to fix it?
ThankS plot MATLAB Answers — New Questions