{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# lab7B - Lab 7B Laplace Transforms in Matlab Recall the...

This preview shows pages 1–3. Sign up to view the full content.

Page 1 - 7 Be sure to declare all the symbolic variables using syms . Lab 7B: Laplace Transforms in Matlab Recall the Laplace transform of the function f ( t ) is: F ( s ) = f ( t ) e 0 " # \$ st dt Many transforms can be evaluated using Matlab's laplace command. The only tricky part is to be sure to declare all the required symbolic variables. Syntax: > laplace(f) Open a new session in Matlab. Exercise 1. You can easily find Laplace transforms using the command laplace from Matlab's symbolic toolbox. Be sure to remember to declare the variables as symbolic quantities. As an example, find the laplace transform of the linear term f ( t ) = t . Note this is the same as the ramp function r ( t ) since the Laplace transform is one-sided. a. In Matlab enter the following commands. > syms f t > f = t > F = laplace(f) which yields F = 1/s^2 Using this same method, find the laplace transform for each of the following monomial functions. Record your answers for credit. i. f 1 ( t ) = t 2 ii. f 2 ( t ) = t 3 iii. f 3 ( t ) = t 4 i. F1 = …. ii. F2 = …. iii. F3 = …. Based on your results make a guess for the laplace transform of f ( t ) = t n , for t > 0. b. Matlab can also find laplace transforms for functions with symbolic variables as illustrated in this example. Find the laplace transform of f ( t ) = e " at . > syms a t f > f = exp(-a*t) > F = laplace(f) which yields F = 1/(s+a)

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Page 2 - 7 Using this same method, find the laplace transform for each of the following functions which have symbolic variables in their expressions. Record your answers for credit. i. f 1 ( t ) = t e " at ii. f 2 ( t ) = b + t ( ) e " at iii. f 3 ( t ) = sinh( a t ) i. F1 = …. ii. F2 = …. iii. F3 = …. Answers are shown below, but are not in order.
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern