Surf plot using meshgrid
    5 ビュー (過去 30 日間)
  
       古いコメントを表示
    
    Mohanned Al Gharawi
 2019 年 9 月 23 日
  
    
    
    
    
    回答済み: Mohanned Al Gharawi
 2019 年 9 月 24 日
            Hello everybody,
I have a set of snr values for defects in a concrete specimen for different depths as attached in excel sheet. I used the wavelet method to analyze them into several levels.
Anyhow, I need them to be plotted into 3D by using the command surf. Would snybody help me with that?
Thank you in advance.
2 件のコメント
採用された回答
  Shubham Gupta
      
 2019 年 9 月 24 日
        Try this :
snr_data = xlsread('snr values.xlsx');
depth = [1,2,3,5];
level = 1:7;
depth_mesh = meshgrid(depth,level).';
level_mesh = meshgrid(level,depth);
surf(depth_mesh,level_mesh,snr_data)
I hope it helps !
0 件のコメント
その他の回答 (1 件)
参考
カテゴリ
				Help Center および File Exchange で Vector Fields についてさらに検索
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!