Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Interpolating
# 1  
Old 07-10-2011

I am attaching 3 files: 6000.txt, 5500.txt, 5750.txt

I am trying to interpolate (I hope I am using the correct word) files 6000.txt and 5500.txt with awk to get 5750.txt... Any ideas on how I can do that? Smilie
# 2  
Old 07-10-2011
What is the algorithm to apply for those numbers?
# 3  
Old 07-10-2011
These are numbers I got from a theoretical model.
# 4  
Old 07-10-2011
But do you know how numbers in 5750.txt are computed?
# 5  
Old 07-10-2011
It is also from the same model.
I am trying to get 5750.txt from the other 2... as an experiment because after that I will apply the same concept to get from 6000 and 5750 => 5875
# 6  
Old 07-10-2011
I know what you mean, but I don't know how exactly it should go. What mathematical operations should we apply on the numbers in two input files to get the third file? So far you only posted input and output but without clear connection between them. Without that I'm afraid we can't help you.
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Interpolating on a line between to points

I have two points which represent the start and end points of a line. I need to interpolate a number of points on the line between the two points. Point 1: x = 455989.0 y = 8673453.4 Point 2: x = 283957.6 y = 8691250.1 The two points I have are coordinates given in UTM format. x... (3 Replies)
Discussion started by: mattings
3 Replies
Login or Register to Ask a Question

Featured Tech Videos