Estrarre l'intervallo di dati impostando il valore sulla matrice
7 次查看(过去 30 天)
显示 更早的评论
Hi, i have a question: i would like to extract data range from matrix composed by 3 column (one of them is the Z axis) , the data beloging to a thickness range of 20 cm, along the path.
Thank you so much
回答(2 个)
darova
2021-8-3
2 个评论
darova
2021-8-3
Sorry, misunderstood you a bit. Use contour
xx = linspace(min(x),max(x),20);
yy = linspace(min(y),max(y),20);
zz = linspace(min(z),max(z),20);
[x1,y1] = meshgrid(xx,yy); % create a mesh
z1 = griddata(x,y,z,x1,y1); % interpolate the data
contour(x1,y1,z1,zz)
I don' an opportunity to look in your data. Can you make a printscreen or something?
stefano chiappini
2021-8-2
2 个评论
darova
2021-8-3
Please don't produce answers, use comments section. I don't have MATLAB on my computer, i can't plot the data. Do you know how it should looks like? Please show some pictures so i could help you
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Point Cloud Processing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!