Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How can I create a vector with specified NaNs' percentage?

2 ビュー (過去 30 日間)
Rita
Rita 2016 年 8 月 2 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I have a vector with 3000 data which 500 of them are real NaNs which I am not going to do any analysis for real NaNs.I would like to add 20% and 40% of the whole data as artificial NaNs (which should not overlay with the real NaNs) with different gap length from 1 to 30.
Any advice much would be appreciated in advance.

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by