How i can graph in 3 dimension, dependent of the temperature?
8 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Good day for everyone, i have a simple question. I have matlab R2019a. My question is..
How i can graph this equation:
T = - 3 (x^2+y^2+z^2)^(1/2) + 300
is a room that is dependent of temperature in all directions
I tried this, but doesn't appear the graph
syms x y z
T0 = 300
f = -3*sqrt((x^2+y^2+z^2))+ T0;
fimplicit3(f, [0 0 0])
Thank you so much for your valious time.
0 Commenti
Risposte (1)
Shashi Kiran
il 4 Mar 2025
I understand that you want to visualize the temperature distribution in all directions using MATLAB.
The issue in the code is that "fimplicit3" requires an equation in the form of "T == value" and the plotting range should be specified as below.
Here is how you can do it.
syms x y z
T0 = 300;
T = -3 * sqrt(x^2 + y^2 + z^2) + T0;
% Plot the implicit surface where T = 100 (adjust as needed)
fimplicit3(T == 100, [-100 100 -100 100 -100 100])
This will generate a 3D plot of the surface where the temperature is 100. You can adjust the temperature value and modify the plotting range if needed.
For more information about "fimplicit3" you can refer the below MATLAB documentation https://www.mathworks.com/help/matlab/ref/fimplicit3.html
I hope this helps!
0 Commenti
Vedere anche
Categorie
Scopri di più su Calculus in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
