作业帮 > 综合 > 作业

一个关于用matlab绘图绘制

来源:学生作业帮 编辑:拍题作业网作业帮 分类:综合作业 时间:2024/04/26 07:32:21
一个关于用matlab绘图绘制
G1=72730-1866.212T;
G2=10032-369.366T;
G3=22570-19.382t;
要求作出,G1 、G2、G3关于T的图象,在一张图中~
clear;clc
t=-100:100;
g1=72730-1866.212*t;
g2=10032-369.366*t;
g3=22570-19.382*t;
plot(t,g1,'k--',t,g2,'r',t,g3,'b')
legend('g1','g2','g3')


再问: 感谢~~~
再答: no thx
再问: T=2 t=0:0.1:T; k1=exp(224.57-8752*t); k2=exp(44.45-12072*t); for i=1:T/0.1+1 [x(i) y(i) z(i) w(i)]=solve('w(i)^5/x(i)^2=k1','x(i)^3/y(i)^5=k2',... 'x(i)+y(i)+z(i)=1','5*x(i)+3*y(i)+2*w(i)=5'); end subplot(2,2,1); plot(t,x); subplot(2,2,2); plot(t,x+y); subplot(2,2,3); plot(t,x+y+z); subplot(2,2,4); plot(t,x+y+z+w); 这是让别人给写的一个,您看一下···对吗
再答: 重新发问