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

6 ビュー (過去 30 日間)
mahyar
mahyar 2018 年 7 月 30 日
コメント済み: mahyar 2018 年 7 月 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