need help with the MATLAB code please for all of RUN 1
10.4. RUN #I Let the square wave function f(t), defined below over the domain 0 ≤t≤1₂: >={₁ B f(t)= A for for 1₁ <1≤1₂ 0≤1≤1₁ be a periodic function (f(t) = f(t±nT)), for any integer n, and period T=1₂. Create a plot using Matlab of f(t), using 100 points, over 2 periods for the following functions: (1)fi(t) defined by A-5, B=-5, 12-2 seconds and t₁=1 seconds. (2) f2(1) defined by A-6, B=-3, 12-3 seconds and 11=2 seconds (3) f3(1) defined by A-3, B=0, t2=2 seconds and t₁=1/2 seconds (4) f4 (1) defined by f4(t) = -f(t) (5) fs (1) defined by A-5, B=-3, 1₂2=2 seconds and t₁=1 seconds (6) f6 (1) fi(t) +f 3 (t) (7) fr (t)=f1 (1) *1 (8) fs (t)=f7 (1) + f2 (1)
need help with the MATLAB code please for all of RUN 1
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am