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

1 次查看(过去 30 天)
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);

回答(1 个)

OCDER
OCDER 2018-7-30
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.

Community Treasure Hunt

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

Start Hunting!

Translated by