Forums

abt matlab code

Started by priya February 1, 2006
I have question tht is there any difference in sampling function used
in matlab code or in vc++  like i have same input for both but my out
put is different in
matlab i have output  vc++

0                             128
                            124
-0.0313
-0.0625

priya wrote:
> I have question tht is there any difference in sampling function used > in matlab code or in vc++ like i have same input for both but my out > put is different in > matlab i have output vc++ > > 0 128 > 124 > -0.0313 > -0.0625
Do you mean that the same data are displayed differently with matlab and VC++? If so, it might mean that they are interpreted as different number formats. Make sure that matlab loads the data file as, say, 16 bit integers. If you do that, the numbers should be equal. Rune