help-octave
[Top][All Lists]
Advanced

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

Re: I have modified firls.m to include all types of FIRs plus HT and dif


From: Nicholas Jankowski
Subject: Re: I have modified firls.m to include all types of FIRs plus HT and diff
Date: Wed, 17 May 2017 06:43:14 -0400



On May 17, 2017 5:52 AM, "je suis" <address@hidden> wrote:
There's something else that's unclear to me: the function can be either:

firls(N, f, K), or
firls(N, f, A, 'fType'), or
firls(N, f, A, K, 'fType')

From the matlab docs I see:

Syntax

b= firls(n,f,a)
b = firls(n,f,a,w)
b = firls(n,f,a,'ftype')
b = firls(n,f,a,w,'ftype')


So there's always an A. w is optional.

https://www.mathworks.com/help/signal/ref/firls.html


Also the octave function reference shows:
Function File: b = firls (n, f, a)

Function File: b = firls (n, f, a, w)
https://octave.sourceforge.io/signal/function/firls.html
So  I'm not sure where you got the A is optional syntax.

reply via email to

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