88问答网
所有问题
matlab中 sin(x)cos(x) 怎么表示?急急急急!
sin(x)乘以cos(x)
sin(x)*cos(x) 显示有错误!
举报该问题
其他回答
第1个回答 2007-11-04
你应该是对的。
第2个回答 2007-11-05
sin(x)*cos(x)
相似回答
matlab
绘图, 在4个图形窗口分别绘制
sin(x)
,
cos(x)
,tan(x),ctan(x)
答:
x2=[0+0.0001:pi/1000:2*pi]y1=
sin(x)
;y2=
cos(x)
;y3=tan(x2);y4=cot(x2);subplot(2,2,1)plot(x,y1);axis([0,2*pi,-1.5,1.5])subplot(2,2,2)plot(x,y2);axis([0,2*pi,-1.5,1.5])subplot(2,2,3)plot(x2,y3);axis([0,2*pi,-50,50])subplot(2,2,4...
matlab中
,在同一图上绘制y1=
sin(x)
和y=
cos(x)
在区间[0,8*pi]的曲线...
视频时间 2:11
matlab
在同一坐标系中画出
sin(x)
,
cos(x)
在[0, 2π] 间
的
图
答:
x = 0:0.1:2*pi;y1 =
sin(x)
;y2 =
cos(x)
;plot(x,y1,'-or',x,y2,'--*b');xlabel('x');ylabel('y');leg=char('正弦函数','余弦函数');legend(leg);title('正余弦函数图像');
求
matlab
编程绘制
sin(x)
,
cos(x)
,sin(2x),tg(x),并用一个图形窗口
表示
所...
答:
xlabel('x')ylabel('
sin(x)
')title('
cos(x)
')subplot(222)plot(x,cos(x))xlabel('x')title('sin(x)')ylabel('cos(x)')subplot(223)plot(x,sin(2*x))xlabel('x')title('sin(2x)')ylabel('sin(2x)')subplot(224)plot(x,tan(x))xlabel('x')title('tan(x)')ylabel('tan(x...
在Matlab中
,
如何
绘制
sin(x)
和
cos(x)
二条曲线
答:
t=-pi:0.01:pi;y1=
sin(
t);y2=
cos(
t);plot(t,y1,'r',t,y2,'b');
matlab
画图 在区间[-pi,pi]上(步长为1/180*pi),画
sin(x)
和
cos(x)的
...
答:
x=-pi:1/180*pi:pi;plot(
sin(x)
,'r'); %红色画
sin(x)
曲线 hold on %继续再这幅图上画 plot(
cos(x)
,'g'); %绿色画
cos(x)
曲线 截图如下:试试吧,有问题请进一步提出;也可以贴出你的代码,我们帮忙看看能不能找出问题。
怎样
编写
MATLAB
函数文件
sin(x)
+
cos(x)
,sin(x)*cos(x)
视频时间 01:10
matlab
.
怎么
利用plot命令绘制函数y=
sin(x)的
图形
视频时间 1:10
大家正在搜