Undefined function 'power' for input arguments of type 'function_handle'. for some Implicit function
古いコメントを表示
I'm trying to plot a "little bit" complicated Implicit function:

for g=1.5 and f=1;
my code was:
g=1.5; %GN
f=1; %epsilon_1
Fun=@(x,y) sqrt((x.^2-y.^2+g^2-f^2)^2+4*x.*y)+g^2+(g*sqrt(2*(x.^2-y.^2+g^2-f^2+sqrt((x.^2-y.^2+g^2-f^2)^2+4*x.*y))))/(tanh((sqrt(2*(x.^2-y.^2+g^2-f^2+sqrt((x.^2-y.^2+g^2-f^2)^2+4*x.*y)))/(g))))
fimplicit(Fun)
but I got the Error code:
Undefined function 'power' for input arguments of type 'function_handle'.
Can anyone please help me to understand what to do in this case?
5 件のコメント
Cris LaPierre
2021 年 4 月 7 日
What version of MATLAB are you using?
Daniel Vainshtein
2021 年 4 月 7 日
Cris LaPierre
2021 年 4 月 7 日
You are missing some closing parenthese in the fraction portion of your equation (one in the numerator, 2 in the denominator). Can you please correct?
Daniel Vainshtein
2021 年 4 月 7 日
Daniel Vainshtein
2021 年 4 月 7 日
編集済み: Daniel Vainshtein
2021 年 4 月 7 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Numerical Integration and Differentiation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

