loop through columns,select three columns and surface plot, then do the same for next three columns
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Abdul Rasyid Haron
el 20 de Jul. de 2021
Respondida: Divyajyoti Nayak
el 18 de Nov. de 2024 a las 12:00
Hi all,
I want to loop through tables which contains X,Y and Z coordinates of a surface under different conditions. So I want to select first three columns and plot the surface using surf plot. Later, I want to plot the surfaces for different conditions. my table looks like below. So, for example, in remove_sealant_condition, there will be X_disp,Y_disp and Z_disp.
can someone help me with this?
Thanks
0 comentarios
Respuestas (1)
Divyajyoti Nayak
el 18 de Nov. de 2024 a las 12:00
To use data from a spreadsheet, the 'readtable' and 'readmatrix' functions can be used to extract the data in the form of MATLAB tables/matrix instead of iterating through the columns. Here's some documentation of these functions:
0 comentarios
Ver también
Categorías
Más información sobre Surface and Mesh Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!