Real number (format), AD sampling
Show older comments
I'd like to extend the AD conversion example (Sigma-Delta A/D Conversion) to get connect with other modules.
I'd like to have real number out of the AD Conversion, and have this number with other SW function.
Please what and how to realize it and extend the example and connected to the SW function?

3 Comments
Walter Roberson
on 25 Feb 2022
The Digitized Approximation signal is already a double()
Peter Balazovic
on 25 Feb 2022
Edited: Peter Balazovic
on 25 Feb 2022
Walter Roberson
on 27 Feb 2022
You can send the signal into a MATLAB Function Block, if you want the processing to happen as the model runs.
If you want to post-process the signal after the model runs, then you could Save To Workspace, or you could log the signal. If you log the signal then instead of running your model interactively, have MATLAB code run sim() and save the output from sim(), which will be an object that you can access the logged signal values from.
Answers (0)
Categories
Find more on Scopes and Data Logging in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!