필터 지우기
필터 지우기

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