A Continuous Time Signal X R Is Given Graphically Below X T 24 17 1 2 1 U T 10 Writer A Matlab Code To Define T 1 (22.53 KiB) Viewed 36 times
A Continuous Time Signal X R Is Given Graphically Below X T 24 17 1 2 1 U T 10 Writer A Matlab Code To Define T 2 (22.53 KiB) Viewed 36 times
A Continuous Time Signal X R Is Given Graphically Below X T 24 17 1 2 1 U T 10 Writer A Matlab Code To Define T 3 (24.25 KiB) Viewed 36 times
A continuous-time signal x(r) is given graphically below. X(t) 24 17 1 2 1. u(t) == 10. Writer a MATLAB code to define the following functions and plot them. 120 <0 1. Define the unit-step function u(t) in MATLAB. Define your own, do not use the built-in MATLAB function. 2. Define the function x() in MATLAB 3. Define the function x₁(t) = [u(t+1)-u(t-1)]x(1) in MATLAB 4. Define the function x₂(t)= [u(t)-u(1-2)]x() in MATLAB
A continuous-time signal x(r) is given graphically below. X(t) 24 17 1 2 1. u(t) == 10. Writer a MATLAB code to define the following functions and plot them. 120 <0 1. Define the unit-step function u(t) in MATLAB. Define your own, do not use the built-in MATLAB function. 2. Define the function x() in MATLAB 3. Define the function x₁(t) = [u(t+1)-u(t-1)]x(1) in MATLAB 4. Define the function x₂(t)= [u(t)-u(1-2)]x() in MATLAB
1 t=-3:0.01:4; 2 u =@(t)(); 3 x=@(t)(); 4 x1-@(t)(); 5 x2-@(t)(); 6 7 8 subplot (2,2,1) 9 plot(t, u(t), 'linewidth", 2) 10 xlabel('t') 11 ylabel('u(t)") 12 grid on 13 ylim([0,1.5]) 14 15 16 subplot (2,2,2) 17 plot(t, x(t), 'linewidth', 2) 18 xlabel('t') 19 ylabel('x(t)') 20 grid on 21 ylim([0,2.5]) 22 23 subplot (2,2,3)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!