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.

4 次查看(过去 30 天)
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.

回答(1 个)

Bhanu Prakash
Bhanu Prakash 2023-5-11
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:

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by