view m-toolbox/test/test_cdata_matrix.m @ 43:bc767aaa99a8

CVS Update
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Tue, 06 Dec 2011 11:09:25 +0100
parents f0afece42f48
children
line wrap: on
line source

function test_cdata_matrix()

% TEST_CDATA_MATRIX tests matrix read/write from XML for cdata class.
%
%
% M Hewitson 23-05-07
%
% $Id: test_cdata_matrix.m,v 1.4 2008/09/19 14:03:50 ingo Exp $
%


a = ao(rand(10,10))
c = select(a, sub2ind(size(a.data.y), 1:10 , 1:10))
c.data

return

save(a, 'ltpda_cmat.xml');

b = ao('ltpda_cmat.xml');


%%
c = a.*b

delete('ltpda_cmat.xml');

% END