From: Sven Schoeberichts on
Hello,

I have made a program in Matlab which converts the gravitational force in a sensor to angles of tilt and rotation. So it processes the data of the sensor into output as the angle the sensor is rotated left/right, and front/back.

As visible information is easier to understand for most people, I would like to show the position of the sensor in Matlab, like in the rotate3d way.

I would like to know the easiest way to do this. How do I make a rectangle in a rotate3d box graph, and can I set the angles in which it would have to be rotated?

Any help would be very appreciated.

Thanks in advance!