Sorry I don't have excel on this computer to check the data, but the rounding is done in excel. The data in my post #118 was cut and pasted from the spreadsheet.
Excel keeps the data in a floating point format (which I mentioned) and then you select "column number formatting" which is applied to the native number and then *displayed* truncated. In that column.
So for this row;
The actual value may have been 56.47000 which excel rounded up (for display) to 56.5 as that is the correct rounding to 0.1 resolution, then when asked to round it to integer 56.47000 was properly rounded down to 56.Code:23 165.6 0.248689887 59.0 56.5 56 56
Personally I hate Excel, it's so "Microsoft" in that it hides things from the user and does things that it wants regardless of what the user wants. That's part of the reason I have supplied the spreadsheet calcs in text form.
I use Excel 2010 at work and it seems to have a much more accurate maths engine than the version you are using. Hence, I have significant deviation after the first decimal point of the table entry and it goes all downhill from there.
This is the reason why I told you I will be coding the tables up in Python (I for one do not have Excel at home) as that is much more portable.
That answers your question 1. Just to get Excel to display the sine graph correctly requires pasting the integers into notepad and back into Excel, to make them real integers. Otherwise Excel keeps charting the original non-rounded data. If you know a way to force it to truncate the native data please tell me, as I don't use it often enough to have found out that trick.
I rarely use Excel too for my computation needs, but I am wondering how you got the last 'Int' column.
If you mapped using INT(), you should be able to project a bar chart on this column and have it use the integer instead of the floats.
I will share the Python code with you and this forums soon but I also had some more questions:
1. Are the formulae compatible to have the step size changed from 50 to something else like 64?
2. Why are you scaling the output for a peak-to-peak amplitude of 72?
3. What is that 200 value?