|
From: | kanta |
Subject: | need help |
Date: | Tue, 16 Feb 2010 15:03:51 +0800 |
Dear Sir,I am new user for octave GNU. I don't know how to calculate phase margin using extrapolation for a bode plot with if or for loop. previously i done this in MATLAB and loop code is
for i=1:1:30 if((mag(i)>1) & (mag(i+1)<1)) j=i y2=mag(i); y1=mag (i+1) x2=w(i) x1=w(i+1) end end how this will do in octave. could you please help me out? Thanks & Regards,Kanta
[Prev in Thread] | Current Thread | [Next in Thread] |