From: Chia Hua on 30 Dec 2009 01:53 I have two figures figure(1) margin(x) figure(2) margin(y) i want generate a figure which contain these two figures( not subplot). that show like bode(x,y) but i want to have "margin" information.
From: nanren888 on 30 Dec 2009 16:34 "Chia Hua" <muhseuel(a)hotmail.com> wrote in message <hhetce$q11$1(a)fred.mathworks.com>... > I have two figures > figure(1) > margin(x) > figure(2) > margin(y) > i want generate a figure which contain these two figures( not subplot). > that show like > bode(x,y) > but i want to have "margin" information. Say again? Not subplot: Ok, so two traces? [aX,fX] = margin(x); [aY,fY] = margin(y); plot(fX,aX,fY,aY); If you have gain or phase margin info output, how do you get it now?
From: Chia Hua on 30 Dec 2009 21:20 > > I have two figures > > figure(1) > > margin(x) > > figure(2) > > margin(y) > > i want generate a figure which contain these two figures( not subplot). > > that show like > > bode(x,y) > > but i want to have "margin" information. > > Say again? > Not subplot: > Ok, so two traces? > > [aX,fX] = margin(x); > [aY,fY] = margin(y); > plot(fX,aX,fY,aY); > > If you have gain or phase margin info output, how do you get it now? That can show any traces.... margin() %that can show gain & margin info in bode diagram
From: nanren888 on 31 Dec 2009 02:12 "Chia Hua" <muhseuel(a)hotmail.com> wrote in message <hhh1ok$6g8$1(a)fred.mathworks.com>... > > > > I have two figures > > > figure(1) > > > margin(x) > > > figure(2) > > > margin(y) > > > i want generate a figure which contain these two figures( not subplot). > > > that show like > > > bode(x,y) > > > but i want to have "margin" information. > > > > Say again? > > Not subplot: > > Ok, so two traces? > > > > [aX,fX] = margin(x); > > [aY,fY] = margin(y); > > plot(fX,aX,fY,aY); > > > > If you have gain or phase margin info output, how do you get it now? > > That can show any traces.... > margin() %that can show gain & margin info in bode diagram Sorry I still have no idea what you want. Do you want code to calculate gain & phase margin? If so, what is the two plot thing? 我看不懂。中文也可以。 Anyone else help?
|
Pages: 1 Prev: ODE BVP: y''-exp(y)=-1 Next: MC-CDMA simulation using Matlab |