matlab问题polar 急
来源:学生作业帮 编辑:神马作文网作业帮 分类:综合作业 时间:2024/11/19 13:59:19
matlab问题polar 急
>> phi=-pi/3:pi/180:pi/3;
>> gamma=(5.*sin(phi).^2)/cos(phi);
>> polar(phi,gamma,'-*')
Error using ==> polar
THETA and RHO must be the same size.
哪里出错了?
>> phi=-pi/3:pi/180:pi/3;
>> gamma=(5.*sin(phi).^2)/cos(phi);
>> polar(phi,gamma,'-*')
Error using ==> polar
THETA and RHO must be the same size.
哪里出错了?
phi=-pi/3:pi/180:pi/3;gamma=(5.*sin(phi).^2)./cos(phi); % 要用点除 ./polar(phi,gamma,'-*')