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

1 view (last 30 days)
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?

Answers (1)

Prateek
Prateek on 6 Jan 2023
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 Comment
Ankit Chauhan
Ankit Chauhan on 6 Jan 2023
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.

Sign in to comment.

Products

Community Treasure Hunt

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

Start Hunting!