hy guys,
I am a beginner in c and from 3 days I have a big question...
I have a file containing the folowing data:
5971 -44 976 -23
5981 -53 980 -23
5991 -50 978 -21
6001 -56 975 -21
6011 -58 971 -21
6021 -52 981 -24
6031 -49 974 -22
6041 -50 981 -31
6051 -47 978 -37
6061 -42 978 -38
6071 -37 977 -42
I need to divide the first column by 600 to convert in to seconds and write it out into a new file first column divided and the second, 3'th, 4'th leave it like is it now....
can anyone help me?
please???
Thanx a lot
an other question.... is any function that calculate an integrala? Because the magnitude of signal is defined with an integrala and whit out file I must calculate an A
Afaik, there is no direct implementation in the standard. But if you look for a while you will find some in the net. In fact, it isn't so difficult to write his own integral function. There are many numerical approximations like simpson formula, that gives you the algorithm you need.