Surface plot of scatter data X,Y,Z where unknown data is noise

1 vue (au cours des 30 derniers jours)
Fidel Alejandro Rodríguez Corbo
Hello, need help with a surface plot of a RF data. Data comes in X,Y,Z vectors and I would like to plot it as a surface, I did a linespace and a meshgrid but dont want any interpolation of the missing data if I use the griddata function, because I know is just noise, thanks in advance
Edit: I guess my problem be how to create a 3D surface where the data points that I don't have in my Z vector can be assigned a noise value.
  2 commentaires
Cris LaPierre
Cris LaPierre le 8 Août 2022
What should the noise value be?
Fidel Alejandro Rodríguez Corbo
background RF white noise. So as an update I just did it through a for loop, checking if I have the Z point for each X,Y range and if not I assign it a random noise value. I know is not elegant but I could not find any other solution and I need it ASAP, regards :)

Connectez-vous pour commenter.

Réponses (1)

Bjorn Gustavsson
Bjorn Gustavsson le 9 Août 2022
If you have a good handle on the noise-distribution you could do that. But for plotting purposes I would go for setting missing data to nan - that should be the most honest display of what you have.
HTH

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by