i need help pleassssss to solve this ....... can any one generate the code for this problem ????
1 回表示 (過去 30 日間)
古いコメントを表示
It is required to implement a general signal generator that has the following specifications:
(1) When the program starts the program asks the user for the following parameters:
a. Sampling frequency of signal.
b. Start and end of time scale
c. Number of the break points and their positions (i.e. the points that the signal definition rule changes).
Example: The signal is defined from -2→0 as a DC signal and from 0→2 as ramp the user will enter that the number of break points =1 and the position at t=0
(2) According to the number of break points the program asks the user at each region to enter the specifications of the signal at this region which are:
a. DC signal: Amplitude.
b. Ramp signal: slope – intercept.
c. Exponential signal: Amplitude – exponent.
d. Sinusoidal signal: Amplitude – frequency – phase.
(3) Then the program will form the previous signal using the indirect method
Requirements:
1. Plot the output of the signal generator.
2. Test your code by the generating the following message.
4 件のコメント
採用された回答
Walter Roberson
2017 年 9 月 27 日
編集済み: Walter Roberson
2017 年 9 月 27 日
See inputdlg() and strcmpi() and str2double()
0 件のコメント
その他の回答 (1 件)
ziad tarek
2020 年 12 月 14 日
please I want some ideas about how i can start solving this problem
Idk anything about matlab
2 件のコメント
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!