How to generate a 10-bits digital signal which the 10 digits are “1753682094"
5 次查看(过去 30 天)
显示 更早的评论
Given code:
Am=5; % Amplitude of modulating signal
fa=300; % Frequency of modulating signal
Ta=1/fa; % Time period of modulating signal
Ts=Ta/80; % Sampling interval
t=0:Ts:(10*Ta-Ts); % Total time for simulation
ym=Am*cos(2*pi*fa*t); % Equation of sinusoidal modulating signal
figure(1)
subplot(4,1,1);
plot(t,ym)
grid on; % Graphical representation of input modulating signal
title ( ' Input Modulating Signal ');
xlabel ( ' Time (sec) ');
ylabel (' Amplitude (volt) ');
My Question: How to modify the program code of the “Input modulating signal” (line 6) to generate a 10 bit digital signal , which the 10 digits are "1753682094" with each digit spans for a period of Ta .
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Modulation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!