Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Making Databases Work The Pragmatic Wisdom Of Michael Stonebraker

Authors: Michael L. Brodie

1st Edition

1947487167, 978-1947487161

More Books

Students also viewed these Databases questions

Question

=+ (b) Do the same for p = 2.

Answered: 1 week ago