TISEAN package: Difference between revisions

→‎Noise Reduction: improved ghkss example
(→‎External links: added link to TISEAN home page)
(→‎Noise Reduction: improved ghkss example)
Line 31: Line 31:
{{Code|Locally projective nonlinear noise reduction|<syntaxhighlight lang="octave" style="font-size:13px">
{{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);
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>}}
</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]]
[[Category:Octave-Forge]]


156

edits