diff m-toolbox/test/test_matrix_fft.m @ 0:f0afece42f48

Import.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 23 Nov 2011 19:22:13 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/m-toolbox/test/test_matrix_fft.m	Wed Nov 23 19:22:13 2011 +0100
@@ -0,0 +1,30 @@
+%
+% Test for matrix/fft
+% 
+% 
+% $Id: test_matrix_fft.m,v 1.1 2010/06/08 09:42:32 miquel Exp $
+%
+
+clear
+
+%% single output
+
+a11 = ao(1:100,10);
+a11.setName
+a12 = ao(1:100,10);
+a12.setName
+a21 = ao(1:100,10);
+a21.setName
+a22 = ao(1:100,10);
+a22.setName
+
+mata = matrix(a11,a12,a21,a22,plist('shape',[2 2]));
+
+b = fft(mata);
+
+%% multiple output
+
+matb = matrix(a11,a12,a21,a22,plist('shape',[2 2]));
+
+
+b = fft(mata,matb);