Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

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

1 visualizzazione (ultimi 30 giorni)
Rita
Rita il 2 Ago 2016
Chiuso: MATLAB Answer Bot il 20 Ago 2021
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.

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by