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 个评论
beshoy mofed
beshoy mofed 2017-9-28

i kown what you mean but i have alot of home work in matlAB IN MY PDF FILE AND THIS IT 1% OF MY HOME WORK SO I TIRED FROM DOING ALOT OF HOMEWORK THAT MADE ME ASK FOR THIS HELP ..... EVEN THAT I AGREE WITH @Stephen Cobeldick and @NILESH PANDEY .... AND THANK TO YOU

请先登录,再进行评论。

采纳的回答

Walter Roberson
Walter Roberson 2017-9-27
编辑:Walter Roberson 2017-9-27
See inputdlg() and strcmpi() and str2double()

更多回答(1 个)

ziad tarek
ziad tarek 2020-12-14
please I want some ideas about how i can start solving this problem
Idk anything about matlab

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by