help-octave
[Top][All Lists]
Advanced

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

Re: fir1 function and max value of the sinc signal


From: alfredd
Subject: Re: fir1 function and max value of the sinc signal
Date: Sat, 9 Nov 2013 03:43:22 -0800 (PST)

yes, there is a difference in using scale or noscale
b=fir1(100, 1/12, 'low', rectwin(101), 'noscale')
b=fir1(100, 1/12, 'low', rectwin(101), 'scale')

b(51) turns out to be slightly different in this case

in case of scale its:
octave:104> b(51)
ans =  8.61344131763296799730867e-02

in case of noscale its:
octave:106> b(51)
ans =  8.23567708333333287074041e-02
Alfred



On Sat, Nov 9, 2013 at 1:34 PM, Doug Stewart-4 [via Octave] <
address@hidden> wrote:

>
>
>
> On Sat, Nov 9, 2013 at 5:03 AM, alfredd <[hidden 
> email]<http://user/SendEmail.jtp?type=node&node=4658971&i=0>
> > wrote:
>
>> there is a small mistake: in the example i ment sample nr 51 which is at
>> h(50).
>>
>>
>>
>>
>
> Interestingly I get;
>
> >> b=fir1(100, 1/12, 'low', rectwin(101), 'noscale');
> >> b(50)
> ans =  0.081441
> >> b(51)
> ans =  0.082357
> I am on Ubuntu 12.04 and Octave compiled recently
> Doug
> <https://linuxcounter.net/user/206392.html>
>
> _______________________________________________
> Help-octave mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=4658971&i=1>
> https://mailman.cae.wisc.edu/listinfo/help-octave
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://octave.1599824.n4.nabble.com/fir1-function-and-max-value-of-the-sinc-signal-tp4658968p4658971.html
>  To unsubscribe from fir1 function and max value of the sinc signal, click
> here<http://octave.1599824.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4658968&code=YWZkYXJkQGdtYWlsLmNvbXw0NjU4OTY4fDE1NDIwNTE2NzE=>
> .
> NAML<http://octave.1599824.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://octave.1599824.n4.nabble.com/fir1-function-and-max-value-of-the-sinc-signal-tp4658968p4658972.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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