Can someone me with this MATLAB project for my Intro EE class?

AI Thread Summary
The discussion revolves around a MATLAB project for an Intro EE class, focusing on understanding the mathematical concepts involved. Participants emphasize the importance of grasping the underlying mathematics, particularly regarding vectors and rotation matrices. The user expresses confusion about inputting 3D points as vectors and the concept of rotating vertices in 3D space. Resources such as MATLAB documentation and the rotation matrix are recommended to aid understanding. Clarifying these concepts is essential for successfully completing the project.
vectorwtf1234
abcd
 
Last edited by a moderator:
Physics news on Phys.org
Where is your attempt at a solution?
 
As long as you understand the mathematics, that's the big thing.

The Mathworks (makers of MATLAB) publish some fine documentation, including "Getting Started" stuff:
http://www.mathworks.com/help/techdoc/learn_matlab/bqr_2pl.html

For this project, you'll need to write a .m file--this is just a script that means you don't have to keep on typing the same inputs over and over again.

Now, I'll throw you a bit more of a bone--here's the documentation page for the 'input' function, which you can use to take in user inputs:
http://www.mathworks.com/help/techdoc/ref/input.html

In MATLAB itself, you can type help <command> and bring up the on-the-fly documentation.

Good luck!
 
Perhaps I don't understand the mathematics. I'm now enrolled in pre-calculus, and we're just learning about sin, inverse sin, trigonometric identities, etc etc etc... I don't know what a vector is aside from "magnitude and direction."

I don't have an attempted solution, because I don't even understand the problem. I'm not asking for step-by-step instructions. Can someone please explain the project for me?

In particular, I don't know what "input 3 XYZ points and set them up as vectors (4x1)" even means. Is a point a vector? How does a 4x1 (4 rows, 1 column) even represent a point on a 3D plane?

What does "rotate each vertex by 30 degrees about the x axis..." even mean?

For some reason, your original post has been erased/edited out of existence! To do this problem, you need to have some understanding of matrices and transforms. In particular, the Rotation Matrix is able to rotate points about various axes:
http://en.wikipedia.org/wiki/Rotation_matrix
 

Similar threads

Replies
14
Views
1K
Replies
20
Views
3K
Replies
11
Views
2K
Replies
3
Views
1K
Replies
3
Views
2K
Replies
4
Views
1K
Back
Top