1 view (last 30 days)

Show older comments

I tried to get the answer from this equation: sum(abs(diff(CPap)))*freq/length(CPap)

I assumed I need to tell matlab what CPap, freq and length represent right?

So I typed in CPap = 0.3, freq = 100 an length = 10

But when i hit enter, this sentence showed, can someone tell me what am i doing wrong here?

Many thanks!!!

Arvind Sathyanarayanan
on 28 Mar 2019

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

Start Hunting!