matlab画星形线怎么画???

2025-01-04 06:09:03
推荐回答(1个)
回答1:

a=2;
fh = @(x,y)x^(2/3)+y^(2/3)-a^(2/3)
ezplot(fh)
这样应该可以吧
t=-2*pi:0.1:2*pi;
x=cos(t).^3;y=sin(t).^3;
>> plot(x,y)
>>