Visualizing data that is in a matrix.

1 view (last 30 days)
Leon
Leon on 8 Feb 2014
Answered: Jan on 8 Feb 2014
Hi all,
I am very stuck with a current coursework assignment and any help or insight would be much appreciated.
Since its course work I'll try and make it more general.
I've created a matrix of points that are points of a toroid. Starting my making a Circle and then rotating the original matrix of points using a z rotation matrix, in turn making a 3 x 421 matrix of points. I transposed that so my points are in column form as it seems this is a better way of handling it (421 x 3).
I want to use these points to use surf or mesh or similar to visualize my torus.
Any help would be massively appreciated.
Thanks.

Answers (1)

Jan
Jan on 8 Feb 2014
This is very similar to the cyclinder function, except for the bending. So take a look into this function:
edit cylinder

Community Treasure Hunt

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

Start Hunting!