1) a) Write a function m-file with name triangular, which generates a triangular signal as shown below. Your function co

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

1) a) Write a function m-file with name triangular, which generates a triangular signal as shown below. Your function co

Post by answerhappygod »

1 A Write A Function M File With Name Triangular Which Generates A Triangular Signal As Shown Below Your Function Co 1
1 A Write A Function M File With Name Triangular Which Generates A Triangular Signal As Shown Below Your Function Co 1 (34.66 KiB) Viewed 58 times
1) a) Write a function m-file with name triangular, which generates a triangular signal as shown below. Your function code should have three parameters:1 (time axis), a, b (pulse width), A (amplitude). b) Once you're done, call your function from your main matlab code yourname.m and plot a triangular pulse with parameters as shown below. Label the plot carefully, c) Finally, copy all your code and graph (as jpeg or png) to your report А, t Yo = A (1-5) ostsb Y = A (1+#) -ast so Y. a b function y = triangle (A, a, b, t) , Given System Parameters: ts = 0.001: t = -8:ts:8: A = 2: a=1; b=2
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply