What does "cpsingle" function do? any idea how to see its code?

3 views (last 30 days)
I am using "findchangepts" function to find abrupt signal changes (DSP Toolbox). When I looked into its code I found a function called "cpsingle" but I'm not sure what does it do and what is the code behind it? I would appreciate if anyone can help!
Example of using this function: [cp, residue1] = cpsingle(x, statistic, Lmin);

Answers (1)

OCDER
OCDER on 30 Jul 2018
open(fullfile(fileparts(which('findchangepts.m')), 'private', 'cpsingle.m'))
It's in a private folder, so you have to manually look for the code. Looks like this file will be removed in future releases, so I wouldn't try to use this file.

Categories

Find more on Get Started with DSP System Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!