matlab 在极坐标中画椭圆

日期:2021-12-27 14:09:47 人气:1

matlab 在极坐标中画椭圆

试试这样:

clear all;clc;

a=4;b=2;

t=0:pi/100:2*pi;

x=a*cos(t);

y=b*sin(t);

[th,rh]=cart2pol(x,y);

polar(th,rh);

热门评论