comparison m-toolbox/test/xml_tests/test_specwin.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 clear all;
2
3 s1 = specwin('Hanning', 100);
4
5 xmlfile = 'specwin.xml';
6 save(s1, xmlfile)
7
8 % load
9 s2 = specwin(xmlfile);
10
11 if s1 ~= s2
12 error('### specwins are not the same')
13 end