Graphing a function with multiple symbolic variables as a 3D surface
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Navya Jay
am 4 Feb. 2021
Kommentiert: Navya Jay
am 4 Feb. 2021
Hi there,
I have a function that consists of 2 symbolic variables and a constant. I am trying to graph the function as a 3d surface between set boundaries.
I am attempting to graph
Y=-(((c^2)-r^2)/(r*2))*dz
Where r is a symbolic variable and dz is a function of the symbolic variable z. c is a constant.
I need my r values to be between 0 and 25 and z to be between 0 and 105.
I tried using ‘subs’
Z=linspace(0,105,6)
R=linspace(0,25,6)
Y2=subs(Y,[r,z],[R,Z])
However, this leads to an error.
So, I am having trouble figuring out how to introduce these boundaries to the symbolic variables in order to graph the function.
Would love to know if there is a way to do this?
Thanks so much!
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Spline Postprocessing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!