Advertisement
sunu

Octave frms

Oct 11th, 2016
139
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function Arms=frms(Ain,divr)
  2.     x=0:divr:2*pi;
  3.     y=sin(x);
  4.     Arms=Ain*sqrt(mean(y.^2));
  5. endfunction
Advertisement
RAW Paste Data Copied
Advertisement