Search Results

Search: Posts Made By: malandisa
Forum: Programming 01-16-2015
2,801
Posted By RudiC
Please be aware that your data are not a linear...
Please be aware that your data are not a linear function of time; on top of some noise it has a small curvature, and the six data points right after the gap are somewhat lower than they should be...
1,239
Posted By SriniShoo
awk '{a[$1] = (a[$1] == "") ? $2 : (a[$1] "|"...
awk '{a[$1] = (a[$1] == "") ? $2 : (a[$1] "|" $2)}
END {for(x in a)
{split(a[x], b, "|"); n=asort(b, c);
if(n % 2 == 1)
{m = c[int(n /2) + 1]}
else
{m = (c[int(n /2)] + c[int(n...
1,239
Posted By bakunin
Depending on the amount of memory your system has...
Depending on the amount of memory your system has and how big/how many these files are you may have trouble getting all the data into some sort of two-dimensional array. Construct a single file with...
Forum: Programming 03-20-2014
2,551
Posted By SriniShoo
Below are the 2 solutions with slight difference....
Below are the 2 solutions with slight difference. You can use as per your requirement
awk 'BEGIN{n = 5}
{if((($1 * 100) % n) == 0) {printf "%7.5f %-6.4f\n", $1, $4; p1 = 0}
else if((($1 +...
Forum: Programming 03-20-2014
2,551
Posted By Lucas_0418
Hi guy, this is a method to get your...
Hi guy,
this is a method to get your desired output, and it is modified from your code, may help u
awk '$1*1000%50==0{if($1/0.05>cnt){for(i=cnt;i<$1/0.05;i++){printf "%-8s %-8s\n", ...
11,983
Posted By danmero
In my opinion the difference between -1 and 1 is...
In my opinion the difference between -1 and 1 is 2, like that a difference between any two numbers will be positive.
From here I see that you just want to subtract a number from a previous number...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 11:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy