Explore BrainMass

Explore BrainMass

    Contains basic function in MATLAB files.

    Not what you're looking for? Search our solutions OR ask your own Custom question.

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    Write MATLAB script(s) to plot the basic signals below in two subplots. The upper subplot should be a continuous waveform (don't do g) and the lower subplot should be a discrete plot.

    a) Sinusoidal waveform
    b) Exponential Waveform
    c) Damped Sinusoid
    d) Sinc function
    e) Step Function & Square Wave
    f) Triangle Wave
    g) Impulse Function

    Make sure there are enough points so that the upper plots look continuous, and fewer points for the lower subplots, so that points are distinguishable.

    Also, Write a/multiple function(s) to perform the various signal transformations.

    a)scaling
    b)translation
    c)reflection

    This should be a coded function. I.e. -> function signal_out-transform(t,signal_in, transform_string)

    Signal_out will be the output of the function (transformed signal)
    t is the time axis used for signal_in
    signal_in could be any one of the signals created from part 2
    transform_string is a number (1 for scaling, 2 for translation, 3 for reflection) or the actual string ('reflection', 'scaling', 'translation') which determines the signal operation being formed. Writing it as 3 individual functions is okay.

    © BrainMass Inc. brainmass.com March 4, 2021, 5:59 pm ad1c9bdddf
    https://brainmass.com/engineering/electrical-engineering/contains-basic-function-matlab-files-22140

    Solution Summary

    The basic functions in MATLAB files are contained. Sinusoidal wave forms are found.

    $2.49

    ADVERTISEMENT