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

2 ビュー (過去 30 日間)
Fidel Alejandro Rodríguez Corbo
Fidel Alejandro Rodríguez Corbo 2022 年 8 月 8 日
回答済み: Bjorn Gustavsson 2022 年 8 月 9 日
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 件のコメント
Cris LaPierre
Cris LaPierre 2022 年 8 月 8 日
What should the noise value be?
Fidel Alejandro Rodríguez Corbo
Fidel Alejandro Rodríguez Corbo 2022 年 8 月 8 日
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 :)

サインインしてコメントする。

回答 (1 件)

Bjorn Gustavsson
Bjorn Gustavsson 2022 年 8 月 9 日
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

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by