Need to write a function that rotates cartesian coordinates

8 visualizaciones (últimos 30 días)
Raymond Alaniz
Raymond Alaniz el 30 de En. de 2015
Comentada: John D'Errico el 31 de En. de 2015
I have this homework problem and have no clue where to start. Wondering if the community can help me out. Professor is out of the question to ask for help on this one. We don't get along too well.
I submitted a zipped file. It contains the whole layout of what needs to be done.
Given coordinates, a matrix, turn coordinates around an axis. Make sure inputs are given by command window.
  3 comentarios
Raymond Alaniz
Raymond Alaniz el 30 de En. de 2015
I provided a word doc in the zipped file. And I know how to create a function that asks for input from the command window. It's for a class and I'm having trouble with this. The teaching assistant can't figure much out of it either since she has little experience. Really sorry for being horrible at explaining this.
John D'Errico
John D'Errico el 31 de En. de 2015
I'm not sure where you submitted the file. If anything, it should be as an attachment. Please don't put it on the file exchange.

Iniciar sesión para comentar.

Respuestas (1)

Ahmet Cecen
Ahmet Cecen el 30 de En. de 2015
Look up rotation matrix or transformation matrix on Wikipedia. Your final function should take coordinates matrix and angle, and spit out
New Matrix = Rotation Matrix * Old Matrix as the answer.

Categorías

Más información sobre Simulink en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by