I have found something in mathscript that I can't quite figure out.
If I define the following:
N = 8192
fs = 1.92e9
and then generate
t = [0:1/fs:(1/fs*(N-1))]
I get a array that is only 8191 long instead of 8192 which is what matlab gives me.
What is more strange is that if I set N = 1024 then mathscript does in fact give me a 1024 elements. In fact every number I tried around 8192 gave the right result. When I change fs to something else I get the right number too. There is something to the relationship of fs to N which creates a special case that causes a drop of the last element?
Thanks
Jeff