Graph 3D Spheres
Ältere Kommentare anzeigen
Buenos dias Comunidad! Intente agregar comentarios a mi post anterior, pero me dice que es imposible cargarlo, que algo salio mal.
Asi que aca va de nuevo.
Ya me respondieron sobre como graficar esferas o volumenes 3D desde un archivos (Gracias Voss!!).
Ahora tengo esta situacion, necesito hacer lo mismo, pero un archivo que tiene menos datos.
como se puede modificar el script para que lea una matriz de 12x12? (La anterior era de 24x24)
Adjunto el file para ilustrar...
Muchas gracias!
Good morning Community! I tried to add comments to my previous post, but it tells me that it is impossible to load it, that something went wrong.
So here it goes again.
They already answered me about how to graph 3D spheres or volumes from a file (Thanks Voss!!).
Now I have this situation, I need to do the same thing, but a file that has less data.
How can you modify the script so that it reads a 12x12 matrix? (The previous one was 24x24)
I attach the file to illustrate...
Thank you so much!
1 Kommentar
Gustavo Gabriel
am 8 Apr. 2024
Bearbeitet: Matt J
am 8 Apr. 2024
Antworten (1)
M = readmatrix('New Sphere 3D.txt');
angles = M(1,1:end-1);
z = M(2:end,1);
M(1,:) = [];
M(:,1) = [];
whos M z angles
disp(M)
Kategorien
Mehr zu Graph and Network Algorithms finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!