x = (1804:2300);y = 10./(1+(9.*exp(-0.01*x)));plot (x,y, 'b', '-'); x = [1804 1927 1960 1974 1987 1999 2011];y = [1 2 3 4 5 6 7];plot (x,y, 'r', 's');title ('Population Over Time');xlabel = 'Year';ylabel = 'Population (in billions)';legend ('Population model' , 'Measured Population');hold on;
MATLAB: How to resolve an invalid date argument using plot
invalid argument dataplot
Best Answer