angle2 - fprintf'Quadrant 2\n elseif(180<= a&&...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
x = input(' Enter the degrees to find which quadrant it belongs in: '); a = mod(x, 360); fprintf('Quadrant 1\n');
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: fprintf('Quadrant 2\n'); elseif (180 <= a && a < 270) fprintf('Quadrant 3\n'); elseif (270 <= a && a < 360) fprintf('Quadrant 4\n'); end...
View Full Document

This note was uploaded on 03/15/2011 for the course COM S 100 at Cornell.

Ask a homework question - tutors are online