Use MATLAB to find the energy of x(n) = cos ( pi *n/8) and -16<n<16

2 views (last 30 days)
Use MATLAB to find the energy of x(n) = cos ( pi *n/8) and -16<n<16

Accepted Answer

Star Strider
Star Strider on 26 Sep 2015
I’ll let you define ‘energy’, but the amplitude is easy enough:
n = linspace(-16, 16);
x = cos(pi*n/8);

More Answers (0)

Categories

Find more on Dynamic System Models in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!