octave-maintainers
[Top][All Lists]
Advanced

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

Re: Help testing freqz (Doug Stewart)


From: Antoine Wiedmer
Subject: Re: Help testing freqz (Doug Stewart)
Date: Fri, 16 Jan 2015 19:35:29 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

It's the first time that I reply to octave-maintainers-request so I dont know if I do all right (please tell me if not). And my englisch is not good.

Herre is the answer that I become from Matlab 2013b:

>> format long

>> [a,b] = freqz (1, [1, -0.5, 0.8], 10)

a =

  0.769230769230769 + 0.000000000000000i
  0.795697845539899 + 0.214406957886308i
  0.907895048625574 + 0.503075088105172i
  1.359446188435795 + 1.055626842224669i
  5.039825198514839 - 0.134716760555234i
  0.689655172413793 - 1.724137931034483i
  0.440435322714805 - 0.821109280373119i
  0.426591494408077 - 0.474959339207670i
  0.430062293212493 - 0.274624269945268i
  0.433537429406183 - 0.127592878090223i


b =

                   0
   0.314159265358979
   0.628318530717959
   0.942477796076938
   1.256637061435917
   1.570796326794897
   1.884955592153876
   2.199114857512855
   2.513274122871835
   2.827433388230814

>>

On 16.01.2015 18:00, address@hidden wrote:
Send Octave-maintainers mailing list submissions to
        address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.gnu.org/mailman/listinfo/octave-maintainers
or, via email, send a message with subject or body 'help' to
        address@hidden

You can reach the person managing the list at
        address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Octave-maintainers digest..."


Today's Topics:

    1. Re: generate_html breaks documentation encoding (Julien Bect)
    2. Re: Help testing freqz (Doug Stewart)
    3. deprecated use of octave_allocator (Andreas Weber)


----------------------------------------------------------------------

Message: 1
Date: Fri, 16 Jan 2015 08:33:10 +0100
From: Julien Bect <address@hidden>
To: address@hidden
Subject: Re: generate_html breaks documentation encoding
Message-ID: <address@hidden>
Content-Type: text/plain; charset=utf-8; format=flowed

Le 15/01/2015 23:13, Oliver Heimlich a ?crit :
The m-files are encoded in UTF-8 and most documentation strings
contain non-ASCII characters.

The generate_html command somehow tries to convert the document
strings from iso-8859-1 to utf-8 and labels the result as iso-8859-1
in the html header. This is wrong in at least two ways and the
resulting html page is broken.
Hello Oliver,

About the "iso-8859-1" in the HTML header: it depends on the option
structure that you pass to generate_package_html (). If you use the
"octave-forge" style, then yes, it is automatically labelled as
"iso-8859-1"; see get_html_options ().

[everyone: I can add an optional field in the structure that would allow
the package manager to specify the encoding that he wants. Any thoughts
about that? Does it sound like a good idea?]

About the fact that "The generate_html command somehow tries to convert
the document strings": I don't know about that. Can you provide a
tarball for your package and give me a specific example of this conversion?

[everyone: does anybody know about this conversion? whee does this
happen in the package?]

@++
Julien



------------------------------

Message: 2
Date: Fri, 16 Jan 2015 08:31:05 -0500
From: Doug Stewart <address@hidden>
To: Rik <address@hidden>
Cc: Octave Maintainers <address@hidden>
Subject: Re: Help testing freqz
Message-ID:
        <address@hidden>
Content-Type: text/plain; charset="utf-8"

On Thu, Jan 15, 2015 at 8:42 PM, Rik <address@hidden> wrote:

  On 01/15/2015 05:35 PM, Doug Stewart wrote:



On Thu, Jan 15, 2015 at 4:44 PM, Rik <address@hidden> wrote:

1/15/15

Could someone with access to the Signal Toolbox run the following:

I think Rik means some one with Matlab Signal Toolbox

format long
[a,b] = freqz (1, [1, -0.5, 0.8], 10)

Trying to resolve this bug https://savannah.gnu.org/bugs/?43895 where
Octave is apparently off by 1 point.

--Rik



Thanks,  I've already been helped out by Tallis Huther da Costa.

--Rik

How does Matlab handle this?







reply via email to

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