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
23 views (last 30 days)
Show older comments
MANDARAPU VAIBHAV
on 22 Mar 2019
Commented: Bharath Venkataraman
on 26 Aug 2019
iam always getting something like this but not a sine wave
0 Comments
Accepted Answer
Bharath Venkataraman
on 26 Mar 2019
Edited: Bharath Venkataraman
on 10 Apr 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 Comments
Bharath Venkataraman
on 26 Aug 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?
More Answers (0)
See Also
Categories
Find more on Speed Optimization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!