Quantcast
Channel: Mein MATLAB Forum - goMatlab.de
Viewing all articles
Browse latest Browse all 28441

Interpolation

$
0
0
Hallo, ein Beispiel: data = [3 5 6 7 6 NaN NaN 2 1 0 -2 NaN NaN NaN 9 10]; x = 1:numel(data); good = ~isnan(data); data(~good) = interp1(x(good), data(good), x(~good)); Grüße, Harald

Viewing all articles
Browse latest Browse all 28441

Trending Articles