[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: max_recursion_depth exceeded
From: |
Kai Torben Ohlhus |
Subject: |
Re: max_recursion_depth exceeded |
Date: |
Sun, 13 Oct 2019 00:49:44 +0900 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 |
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
- max_recursion_depth exceeded, harish3679, 2019/10/09
- Re: max_recursion_depth exceeded, Przemek Klosowski, 2019/10/09
- Re: max_recursion_depth exceeded, Andreas Weber, 2019/10/09
- Re: max_recursion_depth exceeded, Doug Stewart, 2019/10/09
- Re: max_recursion_depth exceeded, Harishkumar U, 2019/10/12
- Re: max_recursion_depth exceeded, Brett Green, 2019/10/12
- Re: max_recursion_depth exceeded, Harishkumar U, 2019/10/12
- Re: max_recursion_depth exceeded, Brett Green, 2019/10/12
- Re: max_recursion_depth exceeded, Doug Stewart, 2019/10/12
- Re: max_recursion_depth exceeded, Harishkumar U, 2019/10/12
- Re: max_recursion_depth exceeded,
Kai Torben Ohlhus <=
- Re: max_recursion_depth exceeded, Harishkumar U, 2019/10/12