octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: missing functions db2pow() and pow2db()


From: siko1056
Subject: Re: missing functions db2pow() and pow2db()
Date: Wed, 14 Sep 2016 05:48:08 -0700 (PDT)

Hello,

https://www.mathworks.com/help/signal/ref/db2pow.html
https://www.mathworks.com/help/signal/ref/pow2db.html

are as far as I see one-liners, you can distribute within your software,
until they are included into the signal package:

function y = db2pow(ydb)
  y = 10.^(ydb/10)
endfunction

function ydb = pow2db(y)
  ydb = 10*log10(y);
endfunction

I think the wiki page is up-to-date, currently they are not included
http://octave.sourceforge.net/signal/overview.html . Maybe Mike Miller has
time to add them? Or is it more difficult than I think?

HTH, Kai



--
View this message in context: 
http://octave.1599824.n4.nabble.com/missing-functions-db2pow-and-pow2db-tp4679753p4679756.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]