how to plot this ?

1 回表示 (過去 30 日間)
Nx mathlab
Nx mathlab 2022 年 1 月 27 日
回答済み: KSSV 2022 年 1 月 27 日
x=5.3;z= 7.8
xz/(x/z)^2+14x^2-0.8z^2

採用された回答

KSSV
KSSV 2022 年 1 月 27 日
As you have a single values, you may plot only a single point.
x=5.3;
z= 7.8 ;
iwant = x*z/(x/z)^2+14*x^2-0.8*z^2
iwant = 434.1261
But if you have a vector, you can plot:
x=linspace(2,5.3);
z= linspace(5,7.8) ;
[x,z] = meshgrid(x,z) ;
iwant = x.*z./(x./z).^2+14*x.^2-0.8*z.^2 ;
surf(x,z,iwant)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeRandom Number Generation についてさらに検索

タグ

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by