how to interpolate the 393x32 matrix which consists zeroes in between

1 visualización (últimos 30 días)
in my data set along the zeroes are present(which i didnt required) so i have to remove it, and make my data even series by cubic interpolation.
how to do this?

Respuestas (1)

Jan
Jan el 26 de Oct. de 2015
Set the zeros to NaN:
Data(Data == 0) = NaN;
Then use one of the many solutions from tzhe FileExchange: FEX: Search interpolate+nan

Categorías

Más información sobre Interpolation en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!

Translated by