Estrarre l'intervallo di dati impostando il valore sulla matrice

5 ビュー (過去 30 日間)
stefano chiappini
stefano chiappini 2021 年 8 月 2 日
コメント済み: stefano chiappini 2021 年 8 月 5 日
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
  1 件のコメント
darova
darova 2021 年 8 月 2 日
Please provide more details. Show the data

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

回答 (2 件)

darova
darova 2021 年 8 月 3 日
  2 件のコメント
stefano chiappini
stefano chiappini 2021 年 8 月 3 日
thank you so much your answer. I used slice command and it works, but i want create a script that it should be able to slice automatically the crow tree point cloud along z path.
Do you have any tip for me?
darova
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
stefano chiappini 2021 年 8 月 2 日
Hi, i have attached the .txt data. It shows a olive tree point cloud. I want slice one from bottom to the top setting a value ( such as 0,10 m ) along Z column. and export each singular slice with a growing name ( Slice1, Slice 2. Slice3 and go on).
How can i solve this question?
Thank you.
  2 件のコメント
darova
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
stefano chiappini
stefano chiappini 2021 年 8 月 5 日
Thank you for your tips. I solved my question.

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

カテゴリ

Help Center および File ExchangePoint Cloud Processing についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by