I want to modulate these bits [1 0 1 1] with 1k, 3k, 5k, 7k respectively. the signals should be square wave with range from 0 to 1, then plot to me the results.

2 views (last 30 days)
I want to modulate 4 LEDs with these bits [1 0 1 1] with 1k, 3k, 5k, 7k respectively. the signals should be square wave with range from 0 to 1, then plot to me the results.

Answers (1)

Bhanu Prakash
Bhanu Prakash on 11 May 2023
Hi Aly,
As per my understanding, you want to modulate LEDs with specific frequencies and plot the results.
Please refer to the following MATLAB answer:
For more information on the"plot" function, you can refer to the following documentation:

Community Treasure Hunt

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

Start Hunting!