fplot画参数方程,提示矩阵维度出错。

1 view (last 30 days)
kuxervj
kuxervj on 21 May 2023
Answered: guertsy on 21 May 2023
我想用fplot画参数方程,定义t的范围是-2到2,显示:
错误使用 /
矩阵维度必须一致。
源代码如下
xt = @(t) cos(t);
yt = @(t) sin(t);
fplot(xt,yt,[-2 2])
请问折射为什么呢

Accepted Answer

guertsy
guertsy on 21 May 2023
仅供参考在2021b版本无报错

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!