help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simulating data smoothing on a 2D matrix. New to Octave/Matlab platf


From: Nuno Santos
Subject: Re: Simulating data smoothing on a 2D matrix. New to Octave/Matlab platforms
Date: Wed, 01 Jul 2009 10:48:03 +0100
User-agent: Thunderbird 2.0.0.22 (X11/20090608)

Søren Hauberg wrote:
tir, 30 06 2009 kl. 17:37 +0100, skrev Nuno Santos:
First I would like to see the 2D matrix drawn on a 3D graphic, where each value of the 2D matrix is a Z value on the 3D graphic.

Try the 'mesh' or 'surf' functions for such plots. For larger matrices,
you might consider just showing them as an image using 'imshow'. This
can be much faster, and it often provides a better overview.
To draw using the mesh function I need 3 matrixes. The things is that I only have one matrix and so, I need two other matrixes for X and Y to make the Z have the point in the right place.

Isn't there a direct form of doing this? Or isn't there a way of generating the other two matrixes automaticly?

Then I would like to apply several smoothing function (and if anyone could point me some functions), to the data in order to visually see the results.
I was looking for function to smooth noise variations from direct ADC readings. I have found savgol filters on the internet so I was wondering if octave had some similar filters
Well, 'smoothing' can mean quite a lot of different things. You might
want to look into the 'imsmooth' function in the 'image' package from
Octave-Forge.

Søren



reply via email to

[Prev in Thread] Current Thread [Next in Thread]