This preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: if x<0; T3=a+180; fprintf( '\n the polar coordinate you asked for is; %f , %f degrees \n' ,r,T3); else T4=a; fprintf( '\n the polar coordinate you asked for is; %f , %f degrees \n' ,r,T4); end end Sample run >> [X,Y]=XYtoRA(5,0) the polar coordinate you asked for is; 5.000000 , 0.000000 degrees X = 5 Y = >> [X,Y]=XYtoRA(5,0) the polar coordinate you asked for is; 5.000000 , 180.000000 degrees X = 5 Y = >>...
View
Full Document
 Fall '06
 TWKnott
 Coordinate system, Spherical coordinate system, Polar coordinate system, Coordinate systems, Cylindrical coordinate system, polar coordinate

Click to edit the document details