scatter3 plot with intensity matrix

Hello,
I am currently having problems 3D plotting a matrix of intesity values in MATLAB. The scatter3() funciton only takes x y and z vektors. The mesh() funciton works but I need a solution where only the measurement-points are displayed and no connecting lines or surfaces!
So essentially I need a funciton that can plot the points of a 2D-intensity-matrix or can atleast convert them into a x y z coordinate format.
I am positive there is an easy way to do this, I just can't remember...
Help is very much appreciated!
Cheers, Nils

 Accepted Answer

Nils
Nils on 28 Jun 2018
Edited: Nils on 28 Jun 2018
The function I was looking for is prepareSurfaceData()
For my example it it was [xData, yData, zData] = prepareSurfaceData( 1:1280, 1:960, intensity_data );

More Answers (0)

Categories

Products

Release

R2016a

Asked:

on 28 Jun 2018

Edited:

on 28 Jun 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!