From: Steven Lord on

"Aino" <aino.tietavainen(a)removeThis.helsinki.fi> wrote in message
news:hu6ua9$qb3$1(a)fred.mathworks.com...
> So, just to be safe, it is reasonable that the following signal has an
> entropy of 2.1472?:
>
> y=1*sin(2*[1:100])+2*sin(0.5*[1:100]).^2+3*sin(0.1*[1:100]);
>
> This is what I got using that code. I feel that entropy seems a rather
> random measure..

You might want to try working out the examples given on the documentation
page for that function on your own, to see if your results match those of
the function.

http://www.cs.rug.nl/~rudy/matlab/doc/entropy.html

The references on that page may help you understand what the code is doing
as well.

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com