How to create a scope result by a double vector Simulink

I am trying to create a waveform so I can multiply them with cos values and create a sound. First I need to create a scipe result of 1's and 0's. How? Thanks in advanve.

Answers (1)

Hey Ahmet,
I understand that you want to create a waveform that can be used to create a sound and use “scope” block to visualize the waveform.
You can use “Audio Oscillator” from the Simulink library, under Audio Toolbox->Sources->Audio Oscillator.
The Audio Toolbox provides functionality to generate tunable periodic waveforms for creating test signals, control signals, and your own unique sounds.
I am also sharing the link to the MathWorks documentation on ‘Audio Oscillator’, which provides examples for creating waveforms and generating melody: https://www.mathworks.com/help/audio/ref/audiooscillator-system-object.html
I hope this helps you in resolving the issue.

Categories

Find more on Audio I/O and Waveform Generation in Help Center and File Exchange

Products

Release

R2022a

Asked:

on 1 Jun 2022

Answered:

on 12 Oct 2023

Community Treasure Hunt

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

Start Hunting!