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

1 次查看(过去 30 天)
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?

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by