version 1.0.0 (1.6 KB) by Golnaz Baghdadi
This function calculates Renyi Entropy


Updated 30 Aug 2021

View License

% This function calculates Renyi Entropy based on the following algorithm
% - The number of n intervals of the signal is selected.
% - The width of each interval is calculated from the formula (xmax-xmin)/n.
% - The number of points of the signal that are placed in each interval is counted: Ni i = 1: n
% - Probability pi = Ni / N is calculated.
% - Shannon entropy is calculated using the formula H=(1/(1-alpha))log2(sum(pi^alpha)) i=1->n.
% Input parameters:
% - signal: Input signal must be a vector with dimension N
% - n: number of devision
% - alpha: the order of the entropy measure
% Output:
% - RenyiEn: Renyi entropy value
% Author: Golnaz Baghdadi
% -------------------------------------------------------------------------------

Cite As

Golnaz Baghdadi (2022). func_FE_RenyiEn (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!