Is it possible to use the smooth function with a multidimensional matrix having NaN values?

回答 (1 件)

Sergio Yanez-Pagans
Sergio Yanez-Pagans 2022 年 5 月 23 日

1 投票

1 件のコメント

alberto tonizzo
alberto tonizzo 2022 年 5 月 23 日
Thank you but I have a matrix with 5 dimensions...
Matrix dimensions must agree.
Error in smoothn>dctn (line 704)
y = y.*w{dim}(:,ones(1,n));
Error in smoothn>@(x)dctn(x) (line 632)
z = cellfun(@(x) dctn(x),z,'UniformOutput',0);
Error in smoothn>InitialGuess (line 632)
z = cellfun(@(x) dctn(x),z,'UniformOutput',0);
Error in smoothn (line 421)
z = InitialGuess(y,IsFinite);

サインインしてコメントする。

カテゴリ

製品

リリース

R2018b

質問済み:

2022 年 5 月 23 日

コメント済み:

2022 年 5 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by