早教吧 育儿知识 作业答案 考试题库 百科 知识分享

请问一下如何用MATLAB画函数y=0.002*(1.0191).^t的图像,要求分为五个阶段第一个阶段从1~365,200~564,400~764,600~964,800~1095

题目详情

▼优质解答
答案和解析
t1=1:365;
t2=200:564;
t3=400:764;
t4=600:964;
t5=800:1095;
plot(t1,y);
hold on;
plot(t2,y);
hold on;
plot(t3,y);
hold on;
plot(t4,y);
hold on;
plot(t5,y);