Face Error "Input arguments must be numeric or objects which can be converted to double' while plotting Contour
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
inzamam shoukat
el 17 de Mzo. de 2024
Editada: Walter Roberson
el 17 de Mzo. de 2024
S11 =@(x1,x2)(262144*x2*((25*x1^2)/2-75000*x1+75000000))/5592405333333333
x1=0:6000;
x2= 0:800;
contour(x1,x2,S11)
0 comentarios
Respuesta aceptada
VBBV
el 17 de Mzo. de 2024
Editada: VBBV
el 17 de Mzo. de 2024
contour(x1,x2,S11(x1,x2))
6 comentarios
VBBV
el 17 de Mzo. de 2024
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))
Más respuestas (0)
Ver también
Categorías
Más información sobre Surface and Mesh Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!