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

조회 수: 1 (최근 30일)
Fidel Alejandro Rodríguez Corbo
답변: 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
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 CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by