|
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:
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.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.
Isn't there a direct form of doing this? Or isn't there a way of generating the other two matrixes automaticly?
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 filtersThen 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.
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
[Prev in Thread] | Current Thread | [Next in Thread] |