view m-toolbox/test/test_matrix_fft.m @ 37:a4b7ceae0403 database-connection-manager

Show backtrace on unit test errors
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +0100
parents f0afece42f48
children
line wrap: on
line source

%
% 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);