Write a matlab function quadrant that returns the quadrant


Practice with for and if statements

Write a Matlab function quadrant that returns the quadrant (1,2,3, or 4) of a list of angles in degrees. Assume 90 degrees is quadrant 2, 180 is quadrant 3, 270 is quadrant 4, etc.

Example:

quadrant(45) ans=1 quadrant([700 -100]) ans=[4 3]

Request for Solution File

Ask an Expert for Answer!!
MATLAB Programming: Write a matlab function quadrant that returns the quadrant
Reference No:- TGS02895373

Expected delivery within 24 Hours