[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: invalid conversion from string to real scalar using fft and ifft fun
From: |
Nicholas Jankowski |
Subject: |
Re: invalid conversion from string to real scalar using fft and ifft function - how can I fix |
Date: |
Sat, 23 Jan 2016 12:42:39 -0500 |
On Jan 23, 2016 8:06 AM, "Andreas Weber" <address@hidden> wrote:
>
> Am 23.01.2016 um 12:27 schrieb RT:
>
> > shifted_sig=ifft((fft(y).*mult ),'symmetric'); %error here -invalid
> > conversion from string to real scalar-
>
> Octave hasn't implemented the 'symmetric' flag so the error you see is
> because it tries to convert the string "symmetric" to a scalar for N
> (number of elements to use).
>
> HTH, Andy
Hmmm... How easy would it be to catch that and provide a more meaningful error message?