[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question
From: |
Torsten |
Subject: |
Re: Question |
Date: |
Tue, 31 Oct 2017 09:32:21 +0100 |
> Sir, I am getting this type of output:
>
>
> /*Transfer function 's' from input 'u1' to output ...
>
> y1: s
>
> Continuous-time model.
> error: @s: no function and no method found
> error: called from
> buck_outer_again at line 7 column 3
> error: evaluating argument list element number 1
> error: called from
> buck_outer_again at line 7 column 3*/
>
> What could be the problem???
>
When replying, please keep the mailing list in cc and put your answer
below the previous messages.
How does line 7 of your script look like?
Torsten
> On 31 October 2017 at 12:06, Kaushal Kishore <address@hidden
> <mailto:address@hidden>> wrote:
>
> Thank you so much sir....
>
> On 31 October 2017 at 01:46, Torsten <address@hidden
> <mailto:address@hidden>> wrote:
>
> On 30.10.2017 13:53, Kaushal Kishore wrote:
> > I want to display the Bode plot w.r.t Frequency in Hertz, but the
> > frequency is being displayed in rad/s.Is there any option to do
> this in
> > Octave?????
>
> You can try this (example for system second order, w0=1, D=0.25):
>
> s = tf ('s')
> G = @(s) 1/(s^2+0.5*s+1) % transfer function
>
> figure (1)
> bode (G(s)) % normal bode plot over w
>
> figure (2)
> bode (G(2*pi*s)) % bode plot over f
> xlabel ('Frequency [1/s]')
>
>
> Torsten