Need to write a function that rotates cartesian coordinates
조회 수: 8 (최근 30일)
이전 댓글 표시
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
John D'Errico
2015년 1월 31일
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.
답변 (1개)
Ahmet Cecen
2015년 1월 30일
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.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!