Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Exercise 1: Write a batch file called plot sinm to generate and plot a sinusoidal signal r(t)- Acos (at)e-bt for 0 t 10 with time
Exercise 1: Write a batch file called "plot sinm" to generate and plot a sinusoidal signal r(t)- Acos (at)e-bt for 0 t 10 with time increment of .1 sec, and A = 3, a = 5, b .2. Save your result and code to include in writeup. Call professor to verify your resuits Exercise 2: Write a function batch file called "calc sin function.m" with the input arguments A.e b. The function should return f and t vectors, but should not plot anything. Then run the function call as: >> [f1, t1] = calc sin funtion (1,3,3); >> [f2 , t2] =saLe_ain-funtion (1,5,.1); You can also manually plot the function on the command line: >> plot (t1, f1,t2,2) Save your result and code to include in writeup. Call professor to verify your results
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started