Hi I have fakebook.csv as following:
F1(current date) F2(popularity) F3(name of book) F4(release date of book)
2006-06-21,6860,"Harry Potter",2006-12-31
2006-06-22,,"Harry Potter",2006-12-31
2006-06-23,7120,"Harry Potter",2006-12-31
2006-06-24,,"Harry Potter",2006-12-31... (0 Replies)
I have a file which is
2
3
4
5
6
6
so i am writing program in C to calculate mean..
#include<stdio.h>
#include<string.h>
#include <math.h>
double CALL mean(int n , double x)
main (int argc, char **argv)
{
char Buf,SEQ;
int i;
double result = 0;
FILE *fp; (3 Replies)
Hi,
I have two time series data (below) merged into a file.
t1 and t2 are in unit of second
I want to calculate the average of V1 every second and count how many times "1" in V2 is occur within a second
Input File:
t1 V1 t2 V2
10.000000... (5 Replies)
Hello,
I'm hoping to get some help on calculating an average time from a list of times (hour:minute:second).
Here's what my list looks like right now, it will grow (I can get the full date or change the formatting of this as well):
07:55:31
09:42:00
08:09:02
09:15:23
09:27:45
09:49:26... (4 Replies)
I want to calculate the average line by line of some files with several lines on them, the files are identical, just want to average the 3rd columns of those files.:wall:
Example file:
File 1
001 0.046 0.667267
001 0.047 0.672028
001 0.048 0.656025
001 0.049 ... (2 Replies)
I have an awk script that gives the following output:
Average end-to-end transmission delay 2.7 to 5.7 is 0.635392 seconds
Average end-to-end transmission delay 2.1 to 5.1 is 0.66272 seconds
Average end-to-end transmission delay 2.1 to 5.1 is 0.691712 seconds
Average end-to-end transmission... (4 Replies)
Hi All,
Thank you for reading through my post and helping me figure out how I would be able to perform this task.
For example: I have a list of continuous output collected into a file in the format as seen below:
Date...........Time........C....A......... B
==========================... (5 Replies)
Hello dears,
I have a log file with records like below and want to get a average of one column based on the search of one specific keyword.
2015-02-07 08:15:28 10.102.51.100 10.112.55.101 "kevin.c" POST ... (2 Replies)
My old school way is a one liner. And will search for average from SAR, to get the data receive rate. But, I dont think it is practical or accurate,. Because it calculates to off peak hours. I am planning to change it. My cron runs every 30 mins. When my cron runs, and my time is 14:47pm,, it will... (1 Reply)
Discussion started by: invinzin21
1 Replies
LEARN ABOUT DEBIAN
gpiv_t-avg
GPIV_T-AVG(1) General Commands Manual GPIV_T-AVG(1)NAME
gpiv_t-avg - Calculates time-averaged mean and variances of PIV data.
SYNOPSIS
gpiv_t-avg [-dn | --dir_name dir basename] [-df | --first_dir N] [-dl | --last_dir N] [-fb | --file_basename file basename] [-ff |
--first_file N] [-fl | --last_file N] [-fx | --file_prefix] [-h | --help] [-n | --none] [-p | --print] [-relrms] [-uv | --print] [-v |
--version]
DESCRIPTION
gpiv_t-avg calculates mean and variances from a series of piv data resulting into time-averaged values. If no parameters are defined at the
command line, standard parameters will be used that are defined in the script. This program does not use the parameter resources from libg-
piv.
Options-dn | --dir_name dir base-name
The dir base-name represents the directory name without its last number. It is supposed that the last number in the directory name
is a counter.
-df | --first_dir
Defines the counter N of the first directory number at which the analyses starts.
-dl | --last_dir
Last directory number N at which the analyses ends.
-fb | --file_base_name file base-name
The filename has to be given without its .piv extension. The file base-name represents the file name without its last number, before
the extension. If not -fx key is used, it is supposed that the last number in the file name is a counter. The output will be written
to dir base-name/file base-name.ta_mean.piv and dirname/filename.ta_sdev.piv at which mean values and variances are written respec-
tively or to dirname/filename.ta_U.piv and to dirname/filename.ta_V.piv if -uv is used.
-ff | --first_file
Defines the counter Nof first file number at which the analyses starts.
-fl | --last_file
Last file number N at which the analyses ends.
-fx | --file_prefix
Prefix numbering to file base name.
-h | --help
On-line help.
-n | --none
Suppresses real execution.
-p | --print
Prints parameters, command line options and input and output filenames to stdout.
-relrms
Prints relative rms, related to the absolute mean value.
-uv Writes U and v displacements/velocities to separate outputs.
-v | --version
Prints version information to standard output, then exits successfully.
SEE ALSO
gpivtools
AUTHOR
Gerber Van der Graaf
19 Januari 2005 GPIV_T-AVG(1)