3D plot Between one known and two unknown parameter.
Mostrar comentarios más antiguos
For a given equation, A.^2+B.^2=R
I need to plot between A,B and R where R is known(R lies between 1 to 10 for 100 resolutions) and A and B is not known.
Thanks in advance.
4 comentarios
Nathan Hardenberg
el 25 de Mayo de 2023
Editada: Nathan Hardenberg
el 25 de Mayo de 2023
Not quite sure if this is what you want. But this plots the resulting circles, in this case continuously R = [1,10]
fimplicit3(@(A,B,R) A.^2 + B.^2 - R)
axis equal
zlim([1,10]); xlim([-4,4]); ylim([-4,4])
MADHVI
el 25 de Mayo de 2023
hmm... I'm still not sure what you want. If you do want to have three "inputs" A,B and R there is no function anymore. It can be either true or false.
Example:
A = 1; B = 1; R = 2;
A^2 + B^2 == R % is true
A = 1; B = 1; R = 1;
A^2 + B^2 == R % is false
You could only plot the "true"-datapoints. But this would result in the same plot as above, if I'm not mistaken
MADHVI
el 28 de Mayo de 2023
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


