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 vues (au cours des 30 derniers jours)
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.

Réponses (1)

Bhanu Prakash
Bhanu Prakash le 11 Mai 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!

Translated by