octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #42495] control package: bode does not accept


From: anonymous
Subject: [Octave-bug-tracker] [bug #42495] control package: bode does not accept a scalar as w
Date: Fri, 19 Jun 2015 16:22:50 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0

Follow-up Comment #3, bug #42495 (project octave):

I've done your test. That's the result :
>> sys = tf(1, [1 1]);
>> [mag, phase] = bode(sys);
>> size(mag), size(phase)

ans =

     1     1    55


ans =

     1     1    55

>> [mag, phase] = bode(sys, [0.1 1 10 100]);
>> size(mag), size(phase)

ans =

     1     1     4


ans =

     1     1     4

>> [mag, phase] = bode(sys, [1 1])

mag(:,:,1) =

    0.7071


mag(:,:,2) =

    0.7071


phase(:,:,1) =

   -45


phase(:,:,2) =

   -45

>> [mag, phase] = bode(sys, 1)

mag =

    0.7071


phase =

   -45


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42495>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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