[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Regarding multiply-armed equiangular (or Logarithmic) spirals
From: |
James Sherman Jr. |
Subject: |
Re: Regarding multiply-armed equiangular (or Logarithmic) spirals |
Date: |
Thu, 13 Sep 2012 11:52:39 -0400 |
On Wed, Sep 12, 2012 at 4:43 AM, Rajib & Susmita Bandopadhyay
<address@hidden> wrote:
Dear friends,
Could you please inform me how could I generate multiply-armed equiangular (or Logarithmic) spirals in Octave(Debian) ?
Since I use Debian Squeeze, I used openofficemath software to generate the formula printed below. The form should be as follows (with summation convention, this is a series):
with the open office Math format as r_n = a.e^(b*%theta).e^(2 *%pi/n), with graph for every r, i,e, r1, r2, r3,..., rn, plotted separately.
Eagerly awaiting your response.
Regards,
bkpsusmitaa
_______________________________________________
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave
I think you want a script that looks something like this:
--------------
a = 1; % or whatever you want a to be
b = 1; % or whatever you want b to be
theta = 0:.01:2*pi; % These are the values of theta to be used, starting at 0, and going up by increments of .01 and stopping at 2*pi
N = 10; % or whatever your maximum number of curves you want
figure;
hold on;
for n = 1:N,
polar(theta, a*exp(b*theta).*exp(2*pi/n));
endfor
--------------
Save this in a file called, say curves.m, and after you open octave, use the "cd" command to go to the directory you saved the file in. Then type "curves" to plot. I think this should do what you want.
I hope this helps.
James Sherman
- Regarding multiply-armed equiangular (or Logarithmic) spirals, Rajib & Susmita Bandopadhyay, 2012/09/12
- Re: Regarding multiply-armed equiangular (or Logarithmic) spirals,
James Sherman Jr. <=
- Re: Regarding multiply-armed equiangular (or Logarithmic) spirals, bkpsusmitaa, 2012/09/14
- Re: Regarding multiply-armed equiangular (or Logarithmic) spirals, Carnë Draug, 2012/09/14
- Re: Regarding multiply-armed equiangular (or Logarithmic) spirals, bkpsusmitaa, 2012/09/16
- Re: Regarding multiply-armed equiangular (or Logarithmic) spirals, Juan Pablo Carbajal, 2012/09/16
- Re: Regarding multiply-armed equiangular (or Logarithmic) spirals, Francesco Potortì, 2012/09/17
- Re: Regarding multiply-armed equiangular (or Logarithmic) spirals, Juan Pablo Carbajal, 2012/09/17