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: Carnë Draug
Subject: Re: Regarding multiply-armed equiangular (or Logarithmic) spirals
Date: Fri, 14 Sep 2012 13:24:33 +0200

On 14 September 2012 08:47, bkpsusmitaa <address@hidden> wrote:
>
> 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

QtOctave is abandoned. See
http://wiki.octave.org/FAQ#I.27m_having_problem_XXX_using_GUI_Octave.2C_XOctave.2C_QtOctave.2C_etc.3F
and then report.

Carnë


reply via email to

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