作业帮 > 综合 > 作业

matlab问题polar 急

来源:学生作业帮 编辑:拍题作业网作业帮 分类:综合作业 时间:2024/05/15 02:21:30
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,'-*')