{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

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

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

View Full Document Right Arrow Icon
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)
Image of page 1

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

View Full Document Right Arrow Icon
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.
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    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.

    Student Picture

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

  • Left Quote Icon

    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.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    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.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern