MATLAB: How to plot for for a range? showing error

error in multiplication sign. i am trying to plot against t=0 to 1

Best Answer

Your code
t = 0:0.001:1;
D = (117649*exp(4*t))/6561- (117649*exp(4*t))/26244 - (117649*t.^2.*exp(4*t))/4374 - ...
(117649*t.^3.*exp(4*t))/8748 - (117649*t.^4.*exp(4*t))/46656;
plot(t, D);
Related Question