Forum Discussion
Altera_Forum
Honored Contributor
14 years agoYou defined -I think - your amplitude resolution i.e. 0~3954
but you did not define phase resolution (how many points per cycle), for 256 points: x = sin(2*pi*(0:255)/256); x = round(x*3954);