求解matlab绘制参数函数y=50*cos(t)-40*cos(t+7.5*((1-cos(3.1415926*t/55))-0.25*(1-cos(2*3.1415926*t/55))+36.86);x=50*sin(t)-40*sin(t+7.5*((1-cos(3.1415926*t/55))-0.25*(1-cos(2*3.1415926*t/55))+36.86);就是绘制这个方程的函数图象,t是
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/06 05:53:46
求解matlab绘制参数函数y=50*cos(t)-40*cos(t+7.5*((1-cos(3.1415926*t/55))-0.25*(1-cos(2*3.1415926*t/55))+36.86);x=50*sin(t)-40*sin(t+7.5*((1-cos(3.1415926*t/55))-0.25*(1-cos(2*3.1415926*t/55))+36.86);就是绘制这个方程的函数图象,t是
求解matlab绘制参数函数
y=50*cos(t)-40*cos(t+7.5*((1-cos(3.1415926*t/55))-0.25*(1-cos(2*3.1415926*t/55))+36.86);
x=50*sin(t)-40*sin(t+7.5*((1-cos(3.1415926*t/55))-0.25*(1-cos(2*3.1415926*t/55))+36.86);
就是绘制这个方程的函数图象,t是角度,从0到360
画出来了,多加了一个括号
求解matlab绘制参数函数y=50*cos(t)-40*cos(t+7.5*((1-cos(3.1415926*t/55))-0.25*(1-cos(2*3.1415926*t/55))+36.86);x=50*sin(t)-40*sin(t+7.5*((1-cos(3.1415926*t/55))-0.25*(1-cos(2*3.1415926*t/55))+36.86);就是绘制这个方程的函数图象,t是
syms x y t
y=50*cos(t)-40*cos(t+7.5*(1-cos(3.1415926*t/55))-0.25*(1-cos(2*3.1415926*t/55))+36.86);
x=50*sin(t)-40*sin(t+7.5*((1-cos(3.1415926*t/55))-0.25*(1-cos(2*3.1415926*t/55))+36.86);
ezplot(x,y,[0,2*pi])
这样就行了
也可不指定区间 直接ezplot(x,y)
用前注意声明 syms x y t 即声明x, y,t 为符号变量