Draw the naphthalene molecule

Build a 2×10 matrix R that contains the coordinates of the carbon atoms. • Choose (0, 1) as coordinates of atom 1 and obtain coordinates of atom 2, 3, 4, 10, and 9 by consecutive rotations over 60◦ . • Translate the 6 ring thus obtained to the left: xi 7→ xi − x10. • Get atoms 5, 6, 7, and 8 by reflection, x8 = −x1 and y8 = y1, etc. Then put all x-coordinates of points to be connected in a single array and do the same for the y-coordinates. Determine the size of your plot by axis and use line to do the actual drawing. The numbers can be written by text(x,y,’s’)

2 comentarios

KSSV
KSSV el 5 de Jul. de 2021
Home work....what you have tried?
Nurul Kurnia
Nurul Kurnia el 5 de Jul. de 2021
honestly, i'm stuck in the beginning. i have tried another exercises until i got these question. I got stuck in these question, can you help me? I don't where i have to start...

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Atomic, Molecular & Optical en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 5 de Jul. de 2021

Comentada:

el 5 de Jul. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by