help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regarding multiply-armed equiangular (or Logarithmic) spirals


From: bkpsusmitaa
Subject: Re: Regarding multiply-armed equiangular (or Logarithmic) spirals
Date: Thu, 13 Sep 2012 23:47:45 -0700 (PDT)

James Sherman wrote
> 
> On Wed, Sep 12, 2012 at 4:43 AM, Rajib & Susmita Bandopadhyay <
> bkpsusmitaa@> wrote:
> 
> 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.
> 

Thank you. The script isn't running. Maybe, because I am using a different
version, which is:
QtOctave version 0.9.2




--
View this message in context: 
http://octave.1599824.n4.nabble.com/Regarding-multiply-armed-equiangular-or-Logarithmic-spirals-tp4644080p4644099.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]