Mercurial > hg > ltpda
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f0afece42f48 |
---|---|
1 % | |
2 % Test for matrix/fft | |
3 % | |
4 % | |
5 % $Id: test_matrix_fft.m,v 1.1 2010/06/08 09:42:32 miquel Exp $ | |
6 % | |
7 | |
8 clear | |
9 | |
10 %% single output | |
11 | |
12 a11 = ao(1:100,10); | |
13 a11.setName | |
14 a12 = ao(1:100,10); | |
15 a12.setName | |
16 a21 = ao(1:100,10); | |
17 a21.setName | |
18 a22 = ao(1:100,10); | |
19 a22.setName | |
20 | |
21 mata = matrix(a11,a12,a21,a22,plist('shape',[2 2])); | |
22 | |
23 b = fft(mata); | |
24 | |
25 %% multiple output | |
26 | |
27 matb = matrix(a11,a12,a21,a22,plist('shape',[2 2])); | |
28 | |
29 | |
30 b = fft(mata,matb); |