/Signal-Generator

A comprehensive signal generator for various functions and signals using MATLAB

Primary LanguageMATLAB

Signal Generator

MATLAB program to generate a custom signal and do multiple operations on it.

Table of Contents

Program Functionality

Defining the Signal

  1. Determine the sampling rate.
  2. Determine the bounds. (begin and end time)
  3. Determine the number of breakpoints.
  4. Choose signal type from the list.
  5. Operate at will.

Supported Signal Types

  1. DC Signal
  2. Ramp Signal
  3. General Order Polynomial
  4. Exponential Signal
  5. Sinusoidal Signal

Supported Operations

  1. Amplitude Scaling
  2. Time Shift
  3. Time Reversal
  4. Signal Compression
  5. Signal Expansion

Sample Run

In the following sample run, I used 3 signals, two of which were DC, just to keep things short. You can enter as much as you want of course.

1

2

3

4

. . Then, I chose ramp signal. . .

5 - chose RAMP

6

7

. . Then, I chose DC signal. . .

8 - chose DC

9

. . Then, I chose DC signal. . .

10 - chose DC

11 - output

. . Then, I chose time reversal. . .

12 - time reversal

Contributors

  1. Yousef Kotp
  2. Adham Mohamed