I'm making a 1000 Hz tone for presentation. MATLAB recommends creating the time series (t) this way:
but I've always done it this way (all other variables the same):
When I check whether or not they are equal, the value is 0 - they are not.
I ran a for-loop to investigate, and it appears that they are only unequal on a few points.
What's the calculation difference between these two methods?