matlab参数方程请问如何用matlab画x=cos(X)^3 y=sin(x)^3的图像,

来源:学生作业帮助网 编辑:六六作业网 时间:2024/05/15 09:38:19
matlab参数方程请问如何用matlab画x=cos(X)^3y=sin(x)^3的图像,matlab参数方程请问如何用matlab画x=cos(X)^3y=sin(x)^3的图像,matlab参数

matlab参数方程请问如何用matlab画x=cos(X)^3 y=sin(x)^3的图像,
matlab参数方程
请问如何用matlab画x=cos(X)^3 y=sin(x)^3的图像,

matlab参数方程请问如何用matlab画x=cos(X)^3 y=sin(x)^3的图像,
clear all
close all
clc
t=0:pi/10000:2*pi;
x=cos(t).^3;
y=sin(t).^3;
figure
plot(t,x,'g',t,y,'r')
hold on
figure
plot(x,y)
hold on