Forum Discussion
Altera_Forum
Honored Contributor
17 years agoHi,
The frequency depends on your Fs i.e. f = Fs/Number of points per cycle. To generate one sinusoid cycle of n points in Matlab and quantising onto 16 bits signed: data = sin(2*pi*[0:n-1]/n); data = round(data* (2^15-1)/max(data)); you can then display data as a column, copy and paste to a mif file(This is quicker than writing mif text) Kaz