[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: polar coordinates from [-pi, pi] to [0, 2 pi]
From: |
insafba |
Subject: |
Re: polar coordinates from [-pi, pi] to [0, 2 pi] |
Date: |
Sun, 24 Feb 2019 05:42:07 -0600 (CST) |
well, I'll try to re-explain
the data was firstly an x/y cartesian coordinates, which I transform to
polar coordinates ( theta, radius). here is it in the file.
moyen_cylindre.txt
<http://octave.1599824.n4.nabble.com/file/t373159/moyen_cylindre.txt>
for the polar representation of the data, here is the code:
load('moyen_cylindre.txt')
theta = moyen_cylindre(:,1);
radius = moyen_cylindre(:,2);
polar(theta,radius,'+')
for the other figure in which I want to represent the deviation, here is the
code:
radius1 = abs(radius);
deviation = radius-10; % 10 is the nominal radius
plot(theta,deviation,'+')
the problem is, I can't see how to do a fitting for the curve (as it is in a
total mess and it looks like two superposed curves)
what I want is to have a continuous plot for the deviation
I hope that is clear
--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
- polar coordinates from [-pi, pi] to [0, 2 pi], insafba, 2019/02/23
- Re: [BEWARE-SUSPECTED SPAM]polar coordinates from [-pi, pi] to [0, 2 pi], Montgomery-Smith, Stephen, 2019/02/23
- Re: [BEWARE-SUSPECTED SPAM]polar coordinates from [-pi, pi] to [0, 2 pi], Montgomery-Smith, Stephen, 2019/02/23
- Re: [BEWARE-SUSPECTED SPAM]polar coordinates from [-pi, pi] to [0, 2 pi], insafba, 2019/02/23
- Re: polar coordinates from [-pi, pi] to [0, 2 pi], Montgomery-Smith, Stephen, 2019/02/23
- Re: polar coordinates from [-pi, pi] to [0, 2 pi], insafba, 2019/02/23
- Re: polar coordinates from [-pi, pi] to [0, 2 pi], Andreas Weber, 2019/02/24
- Re: polar coordinates from [-pi, pi] to [0, 2 pi], insafba, 2019/02/24
- Re: polar coordinates from [-pi, pi] to [0, 2 pi], Andreas Weber, 2019/02/24
- Re: polar coordinates from [-pi, pi] to [0, 2 pi],
insafba <=
- Re: polar coordinates from [-pi, pi] to [0, 2 pi], Andreas Weber, 2019/02/24
- Re: polar coordinates from [-pi, pi] to [0, 2 pi], Uwe Damm, 2019/02/25