Commit a97f2644 authored by Marina Kreme's avatar Marina Kreme
Browse files

add doc

parent 83edd922
Pipeline #5934 passed with stage
in 5 minutes
function x_db = db(x)
%% x_db = db(x)
% Converts the elements of x to decibels (dB).
% Linear to decibel (dB) conversion
% Inputs
% - x : scalar or nd-array
% Values to be converted
% Output
% x_db (scalar or nd-array) : conversion of input 'x' in dB.
%
% Author: Marina KREME
%%
x_db = 20*log10(abs(x));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment