From: stefano on
hem...what bout the magnitude on??

"Anneli " <orvnas.A.removeA(a)kth.se> wrote in message <gqi7i5$24$1(a)fred.mathworks.com>...
> Hi,
>
> I want to plot just the phase of a transfer function. According to the MATLAB Help the following command should do that:
> bode(m1,'ap','P')
>
> However, I get the message
> ??? Error using ==> rfinputs
> Invalid syntax.
>
> Why does it not work?
> Is there another command that can be used? The corresponding for just plotting the amplitude is bodemag. Does it exist one for the phase as well?
>
> Kind regards,
> Anneli
From: stefano on
h = bodeplot(m1);
setoptions(h,'PhaseVisible','off');
ok



"stefano " <stefano.cosentino09(a)imperial.ac.uk> wrote in message <i02nva$6o3$1(a)fred.mathworks.com>...
> hem...what bout the magnitude on??
>
> "Anneli " <orvnas.A.removeA(a)kth.se> wrote in message <gqi7i5$24$1(a)fred.mathworks.com>...
> > Hi,
> >
> > I want to plot just the phase of a transfer function. According to the MATLAB Help the following command should do that:
> > bode(m1,'ap','P')
> >
> > However, I get the message
> > ??? Error using ==> rfinputs
> > Invalid syntax.
> >
> > Why does it not work?
> > Is there another command that can be used? The corresponding for just plotting the amplitude is bodemag. Does it exist one for the phase as well?
> >
> > Kind regards,
> > Anneli