使用 scilab 绘制极坐标图时出错

Error in plotting a polar plot using scilab

在执行文件 C:\Users\LAPTOPa.sce

的第 5 行

尺寸不一致 row/column。

clc
close
clf
s=0:.1:2*%pi;
h=10/(1+5*s);
polarplot(s,h);

您需要使用逐元素除法(./)来生成h。尝试将第 5 行更改为

h=10./(1+5*s)

并重新运行。