Face Error "Input arguments must be numeric or objects which can be converted to double' while plotting Contour

16 次查看(过去 30 天)
S11 =@(x1,x2)(262144*x2*((25*x1^2)/2-75000*x1+75000000))/5592405333333333
x1=0:6000;
x2= 0:800;
contour(x1,x2,S11)

采纳的回答

VBBV
VBBV 2024-3-17
编辑:VBBV 2024-3-17
contour(x1,x2,S11(x1,x2))
  6 个评论
VBBV
VBBV 2024-3-17
use meshgrid function
S11 = @(x1,x2) (262144*x2.*((25*x1.^2)/2-(75000*x1)+75000000))/5592405333333333;
x1=0:6000;
x2= 0:800;
[X1 X2] = meshgrid(x1,x2);
contour(X1,X2,S11(X1,X2))

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Contour Plots 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by