Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 29, 2024, 02:40:40 02:40


Login with username, password and session length


Pages: [1]
Print
Author Topic: How to plot an object boundary using MATLAB if we have coordinate x,y,z  (Read 2750 times)
0 Members and 1 Guest are viewing this topic.
xpress_embedo
Active Member
***
Offline Offline

Posts: 173

Thank You
-Given: 122
-Receive: 254


« on: December 09, 2016, 11:47:38 11:47 »

Hello! Everyone, I have Object placed inside a box and i used distance sensors to get the distance of the object from a reference point (0,0,0), now i want to plot the surface of this object using MATLAB, but i am confused, which plotting function to use.

Suppose the object placed is cylindrical object as shown below.



These are the valid points which i get from the sensor from point (0,0,0) and all of these points are same across the z-axis

x = (89.26772163,89.2251516,89.17737906,89.05573047, 88.8611554,88.59463961,88.2572044,87.84990611, 90.60990337,93.38333305,96.16835842,98.96312702, 101.7657715,104.5744107,107.4709263)

y = (86.20483673,83.20379993,80.29567276,77.41496542, 74.56336272,71.74252458,68.95408524,66.19965255, 65.83194826,65.38771374,64.8663768,64.26740613, 63.59031171,62.83464514,62.04836823)

How can i plot using these points to get the image as follow:



With the points above, it is not possible to draw the complete image, but at-least it is possible to draw the boundary of the front side. Please suggest which type of plot, surface plot i can use.
Logged
solutions
Hero Member
*****
Offline Offline

Posts: 1823

Thank You
-Given: 655
-Receive: 900



« Reply #1 on: December 11, 2016, 12:00:39 00:00 »

Assuming those distances are in meters, the 10nm sensor resolution you have there is so impressive you should share with us what it is.

PhD?
Logged
xpress_embedo
Active Member
***
Offline Offline

Posts: 173

Thank You
-Given: 122
-Receive: 254


« Reply #2 on: December 25, 2016, 05:57:57 05:57 »

Assuming those distances are in meters, the 10nm sensor resolution you have there is so impressive you should share with us what it is.

PhD?

Sorry for late reply.
These points are manually calculated (Using Excel) and there is no such sensor.
The Project which i am working on is Object Shape Recognition without Camera, and it is divided into two parts, one uses sensor (Laser/IR as distance sensor) which scans the distance of the object in 3 dimensions and send these values to PC, and second part is to use these points and plot the boundary of the Object.
Something like 3D scanner, but object is stationary in this case and sensor will rotate.
So i am working on second part and that's why i manually taken a use case and with the help of excel i developed some points and used that for plotting.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC