Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/awk -f
|
||||
# computes RMS of the 1st column of a data file
|
||||
{
|
||||
x = $1; # value of 1st column
|
||||
S += x*x;
|
||||
N++;
|
||||
}
|
||||
|
||||
END {
|
||||
print "RMS: ",sqrt(S/N);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue