No BSD License  

Highlights from
Identification of PieceWise Linear and Homogeneous Zone Detection

image thumbnail
from Identification of PieceWise Linear and Homogeneous Zone Detection by Joseph Morlier
1D signal:Identification of PieceWise Linear by multiple regression.

[xe,yen]=entropie(x,ye)
function [xe,yen]=entropie(x,ye)
% function entropie
% Inputs= x,ye 
% studied signal 
% Output= xee,yee
% entropie function
%===============================================================================
% Title:       entropie.m   
%
% Project:     entropie, another way of analyse signals
%
% Purpose:     entropie=|sum(y'(x))|
%			   Find homogeneous part of a signal -> detection of abrupt
%			   changes
%
% Author:      CREMOUX, MORLIER
%
% History:     date          subject
%
%              27.10.04   Initial Version
%
%
% Contact:     jmorlier@lrbb.u-bordeaux.fr
%
%								
%
%===============================================================================
dy=diff(ye);
yen0=0;
for jj=1:length(dy)
    yen0=yen0+abs(dy(jj));
    yen(jj)=yen0;
end
xe=x(1:length(x)-1);

Contact us at files@mathworks.com