Changes

Jump to navigation Jump to search

TISEAN package

1 byte added, 10:51, 1 June 2015
→‎Noise Reduction: improved ghkss example
{{Code|Locally projective nonlinear noise reduction|<syntaxhighlight lang="octave" style="font-size:13px">
clean = ghkss (hen,'m',7,'q',2,'r',0.05,'k',20,'i',2);
# Create delay vectors for both the clean and noisy data
delay_clean = delay (clean);
delay_noisy = delay (hen_noisy);
# Plot both on one chart
plot (delay_noisy(:,1), delay_noisy(:,2), 'b.;Noisy Data;','markersize,3,...
delay_clean(:,1), delay_clean(:,2), 'r.;Clean Data;','markersize,3)
</syntaxhighlight>}}
The rest of the code is the same as the code used in the {{Codeline|lazy}} example. <br/>Once both results are compared it is quite obvious that for this particular example {{Codeline|ghkss}} is superior to {{Codeline|lazy}}. The TISEAN documentation points out that this is not always the case.
[[Category:Octave-Forge]]
156

edits

Navigation menu