can someone please help about NCO HDL optimized block. How to generate a simple sine wave with it. I am gettting a single straight line as output for what ever phase increment i use. can someone help how to set sampling frequency as well

19 visualizaciones (últimos 30 días)
iam always getting something like this but not a sine waveScreenshot (25).png

Respuesta aceptada

Bharath Venkataraman
Bharath Venkataraman el 26 de Mzo. de 2019
Editada: Bharath Venkataraman el 10 de Abr. de 2019
Attached is a simple NCO which generates a sine wave. Phase increment is set to 4 and accumulator size is 8 bits, so you will see a full period in 2^8/4 = 64 steps.
  7 comentarios
Bharath Venkataraman
Bharath Venkataraman el 26 de Ag. de 2019
I am able to run this model in R2018b without issues. Can you attach the model you are using and which version of MATLAB you are running?

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by