help-octave
[Top][All Lists]
Advanced

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

Re: max_recursion_depth exceeded


From: Harishkumar U
Subject: Re: max_recursion_depth exceeded
Date: Sat, 12 Oct 2019 21:24:08 +0530

Will do, thanks! 

On Sat 12 Oct, 2019 21:19 Kai Torben Ohlhus, <address@hidden> wrote:
On 10/13/19 12:41 AM, Harishkumar U wrote:> Hi Guys,
>
> I am using Octave 5.1, the built-in function clash with sin.m is
> resolved thanks!!
>
> Here is the code:
>
> freq = 1000; %Hz, unit for sampling rate
> fs = 44100;  %Hz
> sine_tone = sin(2*pi*freq * (1:fs) / fs);
> plot(sine_tone(1:200)
> sound(sine_tone, fs)
> wavwrite(tone, fs, 'test-tone.wav')
>
> Here is a new error:
>
>>> SineTesTtone
>
> parse error near line 5 of file C:/Users/Admin/Desktop/Load/ee modelling
> tools/octave projects\SineTesTtone.m
>
>   syntax error
>
>>>> sound(sine_tone, fs)
>

On this mailing list we have the convention to answer BELOW the previous
text.  Please stick to this convention in the future.  The error message
indicates, that you have forgotten a ")" at the end of that line

   plot(sine_tone(1:200)

HTH,
Kai

reply via email to

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