Please answer E through I as specified above Thanks ECE 310


Please answer E through I as specified above. Thanks !
ECE 310 Homework 3 MATLAB concepts: defining functions and plotting waveforms 1. Plot the following functions in MATLAB over the time range-5stS 5 seconds. Include your MATLAB code for any functions that you defined a) sgn(t 2) b) -u(t) c) -ut + 2) d) reat(e- e) rect(- 0 rect(-t rect -t- g) rect (2t-2) h) -rect(1-i 0 rect(/2) -rect(o) - rect(t)

Solution

rectangularPulse(a,b,x); this is the synatx for the mat lab function for rectangulr function

here \"a\" represents raising edge

\"b\" represents falling rdge

\"x\" represents timing interval

given function has rasing edge at -3/2 and falling edge at 5/2 and timing interval is (-5,5)

hence code is

t=-5:0.1:5;

y=rectangularPulse(-3/2,5/2,t);

plot(y,t);

 Please answer E through I as specified above. Thanks ! ECE 310 Homework 3 MATLAB concepts: defining functions and plotting waveforms 1. Plot the following func

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site