[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: RMS Waveform of a signal
Again:
El 17/06/10 00:33, Rubén Gómez Antolí escribió:
[...]
Let's go to do the real test:
octave:1> simu4=load Salida.S4.Tran.dat ;
octave:2> tiempo=simu4(:,1);
octave:3> i_neutro=simu4(:,2);
octave:4> length(i_neutro)
ans = 3334
octave:5> valor_rms=sqrt(sum(i_neutro.*conj(i_neutro))/size(i_neutro,1))
valor_rms = 26.597
Ok, these 26.597 are the expected (and it can be calculated, and
checked, too with Gnucap)
Thanks to Holger Vogt, we can check it too in Ngspice:
vmeasc#branch 0
vmeasb#branch 0
vmeasa#branch 0
vneut#branch 0
Reference value : 1.64847e-01
No. of Data Rows : 6443
Transient Analysis
iout_rms = 2.65992e+01 from= 0.00000e+00 to= 1.66660e-01
adding this to circuit file:
.tran 50us 166.66ms UIC
.measure tran iout_rms rms i(vneut) from=0 to=166.66ms
Original e-mail from Holger:
http://sourceforge.net/mailarchive/message.php?msg_name=4C190640.8010504%40uni-due.de
[...]
These aren't the expected wave, but, wait, if I use average of the
wave_rms? (In somewhere I read that RMS wave are the average of RMS values)
http://home.olemiss.edu/~atef/engr360/tutorial/qgspice.html
At the end of the page you can read:
RMS(x) running RMS average of x over the range of the X axis variable.
Best regards.
Salud y Revolución.
Lobo.
--
Libertad es poder elegir en cualquier momento. Ahora yo elijo GNU/Linux,
para no atar mis manos con las cadenas del soft propietario.
---------
Desde El Ejido, en Almería, usuario registrado Linux #294013
http://www.counter.li.org
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user