1 |
|
//****************************************************************** |
2 |
|
// [LibSip - Signal Processing Library] |
3 |
|
// Copyright (C) 2002 - 2003 BOUILLET Olivier LEMAIRE Kévin ROUGET Paul |
4 |
|
// |
5 |
|
// This program is free software; you can redistribute it and/or |
6 |
|
// modify it under the terms of the GNU General Public License |
7 |
|
// as published by the Free Software Foundation; either version 2 |
8 |
|
// of the License, or (at your option) any later version. This |
9 |
|
// program is distributed in the hope that it will be useful, |
10 |
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 |
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 |
|
// GNU General Public License for more details. You should have |
13 |
|
// received a copy of the GNU General Public License |
14 |
|
// along with this program; if not, write to the Free Software |
15 |
|
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
16 |
|
// USA. |
17 |
|
// |
18 |
|
// SPECIAL NOTE (the beerware clause): |
19 |
|
// This software is free software. However, it also falls under the beerware |
20 |
|
// special category. That is, if you find this software useful, or use it |
21 |
|
// every day, or want to grant us for our modest contribution to the |
22 |
|
// free software community, feel free to send us a beer from one of |
23 |
|
// your local brewery. Our preference goes to Belgium abbey beers and |
24 |
|
// irish stout (Guiness for strength!), but we like to try new stuffs. |
25 |
|
// |
26 |
|
// Authors: |
27 |
|
// |
28 |
|
// BOUILLET Olivier |
29 |
|
// Paper mail : |
30 |
|
// E-mail : |
31 |
|
// |
32 |
|
// LEMAIRE Kevin |
33 |
|
// Paper mail : 34 rue Général Lecler 94270 LE KREMLIN BICETRE, FRANCE |
34 |
|
// E-mail : hannibal@marvinproject.org |
35 |
|
// |
36 |
|
// ROUGET Paul |
37 |
|
// Paper mail : |
38 |
|
// E-mail : |
39 |
|
// |
40 |
|
//******************************************************************/ |
41 |
//ajouter la compilation de la lib ... |
//ajouter la compilation de la lib ... |
42 |
|
|
43 |
getf('./newmat.sci'); |
getf('./newmat.sci'); |
44 |
newmat(10, '/tmp/tmp.mat'); |
newmat(10, '/tmp/tmp.mat'); |
45 |
newmat(10, '/tmp/tmp2.mat'); |
newmat(10, '/tmp/tmp2.mat'); |
46 |
|
|
47 |
[len1, mat1] = loadmat('/tmp/tmp.mat'); |
[len1, mat1] = loadmat('/tmp/tmp.mat'); |
48 |
[len2, mat2] = loadmat('/tmp/tmp2.mat'); |
[len2, mat2] = loadmat('/tmp/tmp2.mat'); |
49 |
|
|
50 |
GCC="g++ -g " |
GCC="g++ " |
51 |
GCCEND=" -o /tmp/a.out -I. -I.. -I../type -I../algo -L.. -lsip ./common.cc `perl -MExtUtils::Embed -e ldopts` && /tmp/a.out" |
GCCEND=" -o /tmp/a.out -I. -I.. -I../type -I../algo -L.. -lsip ./common.cc `perl -MExtUtils::Embed -e ldopts` && /tmp/a.out" |
52 |
|
|
53 |
//TEST 1 addition de signaux discrets |
//TEST 1 addition de signaux discrets |