Borrar filtros
Borrar filtros

How to filter low frequency data set?

1 visualización (últimos 30 días)
flemingtb
flemingtb el 13 de Dic. de 2018
I have attached my example data set. What i would like to do is correct the data in each row based on the maximum value of the row. Meaning i need to first find the max value in each row, did this with a loop, and then subtract the max of the from the entire row, this will shift the high data to zero and the low number will become (-) values. I want to do this for each row in order to normalize the data and get rid of waviness from row to row.
Here's what i've got so far, i'm not expert it's probably obvious. The variable imax is the max values from each row, i'd like to iteratively subtract this number from each row of the same index. Stuck on that.
A = zg3
a = size(A,1)
imax = cell(a);
for a = 1:size(A,1)
zgmax = max(A(a,:))
imax{a} = zgmax;
end

Respuestas (0)

Categorías

Más información sobre Statistics and Linear Algebra en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by