MATLAB ASSIGNMENT 2.docx - ASSIGNMENT 2 NAME SARAVANAN.J...

This preview shows page 1 - 14 out of 14 pages.

ASSIGNMENT 2 NAME : SARAVANAN.J REG NO : 20BCE1868 LAPLACE TRANSFORM OF PERIODIC FUNCTIONS SOURCE CODE: clc clear all syms t s T = input( "enter the period of the periodic function:" ); n = input( "enter the number of partitions in one period:" ); fun = 0*t; for i = 1:n a(i) = input( "enter the left end point of the ith sub interval:" ); b(i) = input( "enter the right end point of the ith su interval:" ); f(i) = input( "enter the function

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture