convert polar to cartesian coordinates

Discussion in 'MATLAB' started by Klaus Dietrich Dietrich, Jan 2, 2009.

  1. Hi,
    I'm trying to convert polar to cartesian coordinates. I'm aware of
    the function pol2cart, but in the particular case I have to count the
    angle referenced from the y-axis in clockwise orientation positive.
    Thanks,
    Klaus
     
    Klaus Dietrich Dietrich, Jan 2, 2009
    #1
    1. Advertisements

  2. Either

    x = rho.*sin(ang);
    y = rho.*cos(ang);

    or

    [y,x] = pol2cart(ang,rho)

    Roger Stafford
     
    Roger Stafford, Jan 3, 2009
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.