Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
theta = (0:0.01:2*pi) r = sin.^2.*(theta) + cos.^2.*(theta)
它返回给我这个错误;
错误使用罪。没有足够的输入参数。
我很困惑,我需要改变什么?
我认为正弦平方可以通过以下任一方式完成:
sin(x).*sin(x)
或者
sin(x).^2
r = (sin(theta)).^2 + (cos(theta)).^2