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

1 visualizzazione (ultimi 30 giorni)
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?

Risposte (1)

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

Categorie

Scopri di più su Interpolation in Help Center e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by