-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdictwrite.m
28 lines (26 loc) · 935 Bytes
/
dictwrite.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
% Usage:
% isvalid = dictwrite(dict[,filename])
%
% Synopsis :
% Exports a dictionary description “dict” from Matlab to a file “filename”, using MPTK. It
% returns “isvalid”, a boolean describing if the syntax of dict is correctly formed
%
% Input :
% * dict : a dictionary description
% * filename : OPTIONAL the filename where to read the dictionary
%
% Output :
% isvalid : indicates if the dictionary structure was correctly formed.
%
% Detailed description :
% dict is a dictionary description with the following structure dict.block{i} = block
% where, for example block.type = dirac’ and block may have other field names
%% Authors:
% Emmanuel Ravelli (LAM, Paris, France)
% Gilles Gonon (IRISA, Rennes, France)
% Remi Gribonval (IRISA, Rennes, France)
%
% Copyright (C) 2008 IRISA
% This script is part of the Matching Pursuit Library package,
% distributed under the General Public License.
%