How can I plot two sinusoidal wave in one plot ?

I want to generate a signal composed of two sinusoidal components of frequencies 0.1pi and 0.2pi in MATLAB.

Answers (1)

Read about the function linspace, sin, plot and hold on.

Products

Release

R2020b

Asked:

on 7 Jun 2021

Answered:

on 7 Jun 2021

Community Treasure Hunt

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

Start Hunting!