Implicit plot not working.

24 ビュー (過去 30 日間)
sajid majeed
sajid majeed 2023 年 8 月 4 日
コメント済み: Dyuman Joshi 2023 年 8 月 7 日
This is my code:
fp = fimplicit(@(q,E) gamma(1/4-E/2).*hypergeom(1/4-E/2,1/2,q.^2) - 2*gamma(3/4-E/2).*hypergeom(3/4-E/2,3/2,q.^2).*q);
--------------------------------------------------------------------------------------------------------------
when i plot , warnings are given and graph is plotted with sum jumps. Warnings are given below, can you please guide me how to remove these warnings.
---------------------------------------------------------------------------------------------------------------
Warning: Function behaves unexpectedly on array inputs. To improve performance, properly vectorize your function to return an output with
the same size and shape as the input arguments. > In matlab.graphics.function.ImplicitFunctionLine>getFunction
In matlab.graphics.function/ImplicitFunctionLine/updateFunction
In matlab.graphics.function/ImplicitFunctionLine/set.Function_I
In matlab.graphics.function/ImplicitFunctionLine/set.Function
In matlab.graphics.function.ImplicitFunctionLine
In fimplicit>singleFimplicit (line 193)
In fimplicit>@(f)singleFimplicit(cax,f,limits,extraOpts,args) (line 152)
In fimplicit>vectorizeFimplicit (line 152)
In fimplicit (line 126)
  1 件のコメント
Dyuman Joshi
Dyuman Joshi 2023 年 8 月 7 日
It might be better to define q and E as symbolic variables and use symbolic fimplicit as hypergeom is a symbolic function.

サインインしてコメントする。

回答 (1 件)

Matt J
Matt J 2023 年 8 月 4 日
編集済み: Matt J 2023 年 8 月 4 日
warning off
fimplicit(...)
warning on

カテゴリ

Help Center および File ExchangeCalculus についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by