# Forum

Matlab: Partial Fra...

Clear all

# Matlab: Partial Fraction Expansion

2 Posts
2 Users
0 Likes
47 Views
Posts: 1
Guest
Topic starter
(@Daniel)
New Member
Joined: 1 month ago

Hi

Posts: 13
(@raspi)
Active Member
Joined: 1 year ago

Hello

Partial fraction expansion is a technique that allows finding the inverse of the Laplace transform of rational functions, i.e., functions represented as the quotient of two polynomials. The essence of this technique involves decomposing a rational function into the sum of simpler terms for which the Laplace transform is known.

Partial fraction expansion in Matlab:

Syntax:

[r, p, k] = residue(num, den)

The residue function takes as arguments the numerator and denominator of the rational function expressed as vectors, with their elements being the coefficients of the respective polynomials.

The function's result is assigned to the variables r (the residue), p (poles), K (a vector representing the coefficients of a polynomial in terms of s when the numerator's degree is greater than the denominator's).