functions in the control pkg says "not implemented" even though they are

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

functions in the control pkg says "not implemented" even though they are

GoSim
I sometimes come across functions in the control package that say they are
not implemented even though they are:



>> help zpkdata

error: help: the 'zpkdata' 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.
>> help zero

error: help: the 'zero' 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.
>> help dcgain

error: help: the 'dcgain' 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.






--
Sent from: https://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html

Reply | Threaded
Open this post in threaded view
|

Re: functions in the control pkg says "not implemented" even though they are

GoSim
>> q=tf(2,[1 2 3])

Transfer function 'q' from input 'u1' to output ...

            2
 y1:  -------------
      s^2 + 2 s + 3

Continuous-time model.
>> [z k]=zero(q)
z = [](0x1)
k =  2
>> [z p k]=zpkdata(q)
z =
{
  [1,1] = [](0x1)
}
p =
{
  [1,1] =

    -1.0000 + 1.4142i
    -1.0000 - 1.4142i

}
k =  2
>> g=dcgain(q)
g =  0.66667



--
Sent from: https://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html

Reply | Threaded
Open this post in threaded view
|

Re: functions in the control pkg says "not implemented" even though they are

Doug Stewart-4
In reply to this post by GoSim


On Mon, Feb 24, 2020 at 11:27 AM GoSim <[hidden email]> wrote:
I sometimes come across functions in the control package that say they are
not implemented even though they are:



>> help zpkdata

error: help: the 'zpkdata' 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.
>> help zero

error: help: the 'zero' 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.
>> help dcgain

error: help: the 'dcgain' 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.






--
Sent from: https://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html




for these you must do
help @lti/dcgain
help @lti/pzkdata
etc.


--
DASCertificate for 206392

Reply | Threaded
Open this post in threaded view
|

Re: functions in the control pkg says "not implemented" even though they are

nrjank
Administrator
In reply to this post by GoSim
On Mon, Feb 24, 2020 at 11:29 AM GoSim <[hidden email]> wrote:
>> q=tf(2,[1 2 3])

Transfer function 'q' from input 'u1' to output ...

            2
 y1:  -------------
      s^2 + 2 s + 3

Continuous-time model.
>> [z k]=zero(q)
z = [](0x1)
k =  2
>> [z p k]=zpkdata(q)
z =
{
  [1,1] = [](0x1)
}
p =
{
  [1,1] =

    -1.0000 + 1.4142i
    -1.0000 - 1.4142i

}
k =  2
>> g=dcgain(q)
g =  0.66667



was there something wrong with these results?  I get the same output from Matlab 2019a.
Reply | Threaded
Open this post in threaded view
|

Re: functions in the control pkg says "not implemented" even though they are

Doug Stewart-4


On Mon, Feb 24, 2020 at 2:11 PM Nicholas Jankowski <[hidden email]> wrote:
On Mon, Feb 24, 2020 at 11:29 AM GoSim <[hidden email]> wrote:
>> q=tf(2,[1 2 3])

Transfer function 'q' from input 'u1' to output ...

            2
 y1:  -------------
      s^2 + 2 s + 3

Continuous-time model.
>> [z k]=zero(q)
z = [](0x1)
k =  2
>> [z p k]=zpkdata(q)
z =
{
  [1,1] = [](0x1)
}
p =
{
  [1,1] =

    -1.0000 + 1.4142i
    -1.0000 - 1.4142i

}
k =  2
>> g=dcgain(q)
g =  0.66667



was there something wrong with these results?  I get the same output from Matlab 2019a.
no.
He was complaining that help zpkdata did not work but zpkdata did work
but
help @lti/zpkdata does work, he just did not know to use @lti/

--
DASCertificate for 206392