What does cppelt function do in findchangepts

Hi there,
I am using findchangepts function and would like to know how the cp and residue are calculated in [cp, residue] = cppelt(x, penalty, Lmin, statistic); When I click on cppelt function, there is no script. Can you please guide me to the source code for cppelt.
Thanks for your help in advance.
Best regards,
Mehrangiz Ashiri

Answers (1)

which -all cppelt
/MATLAB/toolbox/signal/signal/private/cppelt.mexa64 % Private to signal
This is a private helper MEX-file in Signal Processing Toolbox. I don't believe we distribute the source code for that MEX-file.

1 Comment

Hello Steven,
Thanks for your reply. I appreciate it.
I understand, would you be kind to elaborate what this function does? How does it determine the cp and residue?

Sign in to comment.

Asked:

on 15 Mar 2024

Commented:

on 17 Mar 2024

Community Treasure Hunt

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

Start Hunting!