Search Results

Search: Posts Made By: mmoses
7,560
Posted By mmoses
thank you very much for your reply. I did try to...
thank you very much for your reply. I did try to make it easy. so that it wouldn't make any problems.
router data
60.0 21.62
120.0 22.95
180.0 21.11
240.0 21.94
300.0 19.95
360.0 19.96...
7,560
Posted By mmoses
I am so sorry for that I sent the answer without...
I am so sorry for that I sent the answer without check it. You right it is t=(t(i+1) + t(i)) / 2.
I would appreciate it if you could check this again.

y = y(i) + {(y(i+1) - y(i)) (t - t(i))} /...
7,560
Posted By mmoses
thank you very much for your reply... yes,...
thank you very much for your reply...

yes, it is derived from the files. for example

As you said t = {t(i+1) - t(i)} / 2 and the new y = y(i) + {(y(i+1) - y(i))(t-t(i))}/{t(i+1) - t(i)}, if...
7,560
Posted By mmoses
Thank you very much for your great help. ...
Thank you very much for your great help.
assume we have a graph (time, y) axis:

y(i+1) t(i+1)
/
y /
*
/ t
/...
7,560
Posted By mmoses
sorry for that.. assume that we have sampled...
sorry for that..
assume that we have sampled value in different time:
file1: router1.dat
t load
60 10.26
120 11.52
180 11.52
240 12.00

where t(1)=60, y(1)=10.26, t(2)=120,...
7,560
Posted By mmoses
Interpolation using awk/any script
sorry for delay

Unfortunately, I cannot interpret your formula for y. Especially the y[i+1] bit. With awk and perl, you can look *behind* a line, but ahead of one. So it would be better if you...
7,560
Posted By mmoses
interpolation
hi otheus (https://www.unix.com/members/302022384.html)
sorry for delay.
here is the interpolation equation you asked last time.
the slope is give by: {y(i+1) - y(i)} / {t(i+1) - t(i)}

e(t)...
7,560
Posted By mmoses
awk or perl
hi all
I am new to awk/perl I would appreciate it if you could help!
how do I read a sub folder and their files.
e.g. simulation/10ms/router1.dat, router2.dat,..., router16.dat
...
Showing results 1 to 8 of 8

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