input (fields are separated by ";"):
In the 1st field there are patterns composed of numbers separated by "%".
The 2nd field define groups (here two different groups called "AA" and "BB").
Records are not necessarily sorted by groups like here.
For each group independently, I would need to get the max and min values at every position where there is a number and return the result in a third field like that:
What I did so far but cannot manage to get the entire result in the 3rd field for each group:
Any help would be greatly appreciated !!
Last edited by beca123456; 02-13-2013 at 08:18 AM..
Reason: Typo in "BB" group output
Hi,
I have this input file called ttbitnres (which is catenated and sorted):-
8 0.4444 213
10 0.5555 342
11 0.5555 321
12 0.5555 231
13 0.4444 400
My code is at :-
#!/bin/bash
echo -e Version "\t" Number of Pass "\t" Number of Fail "\t" Rank Position "\t"Min "\t" Max... (1 Reply)
hi!
i have a file like the attachement.
I'd like to get for each line the min, max and average values. (there is 255 values for each line)
how can i get that ?
i try this, is it right?
BEGIN {FS = ","; OFS = ";";max=0;min=0;moy=0;total=0;freq=890}
$0 !~ /Trace1:/ {
... (1 Reply)
Hi,
I have a text file containing numbers. There are up to 6 numbers per row and I need to read them, check if they are 0 and if they are not zero check if they are within a given interval (min,max). If they exceed the max or min they should be set to max or min respectively, if they are in the... (4 Replies)
Hello Experts,
I have got a txt files which has multiple columns, I want to get the max, min and diff (max-min) for each column in the same txt file. Example:
cat file.txt
a 1 4
b 2 5
c 3 6
I want ouput like:
cat file.txt
a 1 4
b 2 5
c 3 6
Max 3 6
Min 1 4
Diff 2 2
awk 'min=="" ||... (4 Replies)
I have to find the min and max on a specific column in a file after sending that column and one other to a output file but I keep getting a maximum of zero
below is what i have so far if anyone can give me advice on what i am doing wrong the help would be much appreciated
# ! /usr/bin/perl -w... (2 Replies)
aaa: 3 ms
aaa: 2 ms
aaa: 5 ms
aaa: 10 ms
..........
to get the 3 2 5 10 ...'s min avg and max
something like
min: 2 ms avg: 5 ms max: 10 ms (2 Replies)
Hi,
I need your kind help to get min and max values from file based on value in $5 .
File1
SP12.3 stc 2240806 2240808 + ID1_N003 ID2_N003T0
SP12.3 sto 2241682 2241684 + ID1_N003 ID2_N003T0
SP12.3 XE 2239943 2240011 + ID1_N003 ID2_N003T0
SP12.3 XE 2240077 2241254 + ID1_N003 ... (12 Replies)
Gents,
I have a big file file like this.
5100010002
5100010004
5100010006
5100010008
5100010010
5100010012
5102010002
5102010004
5102010006
5102010008
5102010010
5102010012
The file is sorted and I would like to find the min and max value, taking in the consideration key1... (3 Replies)
Discussion started by: jiam912
3 Replies
LEARN ABOUT DEBIAN
pdl::gslsf::expint
EXPINT(3pm) User Contributed Perl Documentation EXPINT(3pm)NAME
PDL::GSLSF::EXPINT - PDL interface to GSL Special Functions
DESCRIPTION
This is an interface to the Special Function package present in the GNU Scientific Library.
SYNOPSIS FUNCTIONS
gsl_sf_expint_E1
Signature: (double x(); double [o]y(); double [o]e())
E_1(x) := Re[ Integrate[ Exp[-xt]/t, {t,1,Infinity}] ]
gsl_sf_expint_E1 does not process bad values. It will set the bad-value flag of all output piddles if the flag is set for any of the input
piddles.
gsl_sf_expint_E2
Signature: (double x(); double [o]y(); double [o]e())
E_2(x) := Re[ Integrate[ Exp[-xt]/t^2, {t,1,Infity}] ]
gsl_sf_expint_E2 does not process bad values. It will set the bad-value flag of all output piddles if the flag is set for any of the input
piddles.
gsl_sf_expint_Ei
Signature: (double x(); double [o]y(); double [o]e())
Ei(x) := PV Integrate[ Exp[-t]/t, {t,-x,Infinity}]
gsl_sf_expint_Ei does not process bad values. It will set the bad-value flag of all output piddles if the flag is set for any of the input
piddles.
gsl_sf_Shi
Signature: (double x(); double [o]y(); double [o]e())
Shi(x) := Integrate[ Sinh[t]/t, {t,0,x}]
gsl_sf_Shi does not process bad values. It will set the bad-value flag of all output piddles if the flag is set for any of the input
piddles.
gsl_sf_Chi
Signature: (double x(); double [o]y(); double [o]e())
Chi(x) := Re[ M_EULER + log(x) + Integrate[(Cosh[t]-1)/t, {t,0,x}] ]
gsl_sf_Chi does not process bad values. It will set the bad-value flag of all output piddles if the flag is set for any of the input
piddles.
gsl_sf_expint_3
Signature: (double x(); double [o]y(); double [o]e())
Ei_3(x) := Integral[ Exp[-t^3], {t,0,x}]
gsl_sf_expint_3 does not process bad values. It will set the bad-value flag of all output piddles if the flag is set for any of the input
piddles.
gsl_sf_Si
Signature: (double x(); double [o]y(); double [o]e())
Si(x) := Integrate[ Sin[t]/t, {t,0,x}]
gsl_sf_Si does not process bad values. It will set the bad-value flag of all output piddles if the flag is set for any of the input
piddles.
gsl_sf_Ci
Signature: (double x(); double [o]y(); double [o]e())
Ci(x) := -Integrate[ Cos[t]/t, {t,x,Infinity}]
gsl_sf_Ci does not process bad values. It will set the bad-value flag of all output piddles if the flag is set for any of the input
piddles.
gsl_sf_atanint
Signature: (double x(); double [o]y(); double [o]e())
AtanInt(x) := Integral[ Arctan[t]/t, {t,0,x}]
gsl_sf_atanint does not process bad values. It will set the bad-value flag of all output piddles if the flag is set for any of the input
piddles.
AUTHOR
This file copyright (C) 1999 Christian Pellegrin <chri@infis.univ.trieste.it> All rights reserved. There is no warranty. You are allowed to
redistribute this software / documentation under certain conditions. For details, see the file COPYING in the PDL distribution. If this
file is separated from the PDL distribution, the copyright notice should be included in the file.
The GSL SF modules were written by G. Jungman.
perl v5.14.2 2012-05-30 EXPINT(3pm)