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

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

Iniciar sesión para comentar.

Respuesta aceptada

COVAO
COVAO el 18 de Nov. de 2023
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 comentario
高木 範明
高木 範明 el 19 de Nov. de 2023
詳細なご説明をありがとうございました。
XData,YDataの数を固定することはできないとの事、理解いたしました。
XData,YDataをそれなりの数、生成させて、乱数で必要数を選択するという
方法で数をそろえることにします。

Iniciar sesión para comentar.

Más respuestas (0)

Productos


Versión

R2023a

Community Treasure Hunt

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

Start Hunting!