fimplicitの​XData/YDat​aの数を固定したい

조회 수: 2 (최근 30일)
高木 範明
高木 範明 2023년 11월 14일
댓글: 高木 範明 2023년 11월 19일
fimplicitで陰関数の(x,y)である、XData/YDataの数を固定する方法が存在するのでしょうか?
MeshDensityで評価点を指定できるようですが、指定してもXData/YDataの数は、例えば式の係数を変えると変わってしまいます。
ご教示、お願いいたします。
  댓글 수: 2
Dyuman Joshi
Dyuman Joshi 2023년 11월 18일
No, there does not seem to be any such way.
高木 範明
高木 範明 2023년 11월 19일
Thanks your kind answer.
I understood that there is no way to fix (x,y) counts.

댓글을 달려면 로그인하십시오.

채택된 답변

COVAO
COVAO 2023년 11월 18일
fimplicitの実行例です。
MeshDensityの設定値から、評価点数が自動調整されるようです。
MeshDensityで、評価点の数を変えられますが、指定した陰関数や範囲によっては、XData,YDataの数と必ずしも一致はせず、また、評価点数の制約があり、制約を超える値を指定しても、細かくできないものと考えられます。
fimplicit(@(x,y) x.^2 - y.^2 - 1,[-100 100 -100 100],'*','MeshDensity',10)
fimplicit(@(x,y) 2*x.^2 - y.^2 - 1,[-100 100 -100 100],'*','MeshDensity',10)
fimplicit(@(x,y) x.^2 - y.^2 - 1,'*','MeshDensity',100)
fimplicit(@(x,y) x.^2 - y.^2 - 1,'*','MeshDensity',300)
  댓글 수: 1
高木 範明
高木 範明 2023년 11월 19일
詳細なご説明をありがとうございました。
XData,YDataの数を固定することはできないとの事、理解いたしました。
XData,YDataをそれなりの数、生成させて、乱数で必要数を選択するという
方法で数をそろえることにします。

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!