How to find (X,Y,Z) grid (obtained from profilometer) of a functional groups attached to a surface ?

3 次查看(过去 30 天)
I have some functional groups (see attached file: Stage_1_aniline_roughness) attached to a surface. I have XYZ coordinates of all atoms. I want to generate a grid (XYZ) usually obtained from Profilometer (use for roughness of speciemen). How can I obtained in a matlab?

回答(1 个)

Prateek
Prateek 2023-1-6
Hello Ankit,
If I understand correctly, you want to simulate the results of a profilometer using the X,Y,X co-ordinates you have.
For this, you could store these co-ordinates in a 3-D array, and then plot a surface plot via ‘surf’. Please refer to the documentation for further information - Surface plot - MATLAB surf - MathWorks India
Regards,
Prateek
  1 个评论
Ankit Chauhan
Ankit Chauhan 2023-1-6
Thanks Prateek. I am not simulating results of a profilometer. Actually I want to write a code in such a way that gives me X,Y,Z coordinates that code will work as profilometer or Atomic force microscopy (left fig.) for any objects (right fig) with some dimensions in XYZ like attached fig.

请先登录,再进行评论。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by