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.

1 回表示 (過去 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 Center および File ExchangeASK についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by