help-octave
[Top][All Lists]
Advanced

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

Re: c2d not working


From: Thomas D. Dean
Subject: Re: c2d not working
Date: Sun, 14 Jan 2018 20:20:51 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0

On Ubuntu 16.04, octave 4.2.1,

octave:10> version
ans = 4.2.1
octave:11> help c2d
error: help: the 'c2d' function belongs to the control package from Octave Forge but
has not yet been implemented.

Please read <http://www.octave.org/missing.html> to learn how you can
contribute missing functionality.
octave:11> c2d
warning: the 'c2d' function belongs to the control package from Octave Forge but
has not yet been implemented.

Please read <http://www.octave.org/missing.html> to learn how you can
contribute missing functionality.
error: 'c2d' undefined near line 1 column 1
octave:11> s=tf(1,[2,3])
Transfer function 's' from input 'u1' to output ...
         1
 y1:  -------
      2 s + 3
Continuous-time model.
octave:12> c2d(s,1e-6)
Transfer function 'ans' from input 'u1' to output ...
      5e-07
 y1:  -----
      z - 1
Sampling time: 1e-06 s
Discrete-time model.

Since my last post, I did a pkg upgrade with octave 4.3.0 and then octave 4.2.1. Help still fails, but, the function works.

Strange...

Tom Dean



reply via email to

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