close all clear all clc ezplot('205*exp(1).^((1-p(t)/250)-t)*(t-2015)-p(t)');为啥没有图象 求大神帮

close all
clear all
clc
ezplot('205*exp(1).^((1-p(t)/250)-t)*(t-2015)-p(t)');

错误: 输入字符不是 MATLAB 语句或表达式中的有效字符。
应该是ezplot()函数内部字符串Matlab无法识别。追问

可以给我写一下么
大神

追答

把你想要绘制函数的数学形式写出来。

追问

p(t)=205*e^(2*((1-(p(t)/250)-t)*(t-2015))谢谢大神

追答

close all

clear 

clc

ezplot('205*exp(2*(1-p/250-t)*(t-2015))-p',[-20,20,-8000,8000]);

%[-20 20]是p的范围,[-8000 8000]是t的范围

追问

能不能把t取到(2016,2066)p取到(0,250)

追答

温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答