[go: up one dir, main page]

Menu

[17deec]: / frames / frsyn.m  Maximize  Restore  History

Download this file

38 lines (32 with data), 1.0 kB

 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
29
30
31
32
33
34
35
36
function outsig=frsyn(F,insig);
%FRSYN Frame synthesis operator
% Usage: f=frsyn(F,c);
%
% `f=frsyn(F,c)` constructs a signal *f* from the frame coefficients *c*
% using the frame *F*. The frame object *F* must have been created using
% |frame|.
%
% Examples:
% ---------
%
% In the following example a signal *f* is constructed through the frame
% synthesis operator using a Gabor frame. The coefficients associated with
% this Gabor expansion are contained in an identity matrix. The identity
% matrix corresponds to a diagonal in the time-frequency plane, that is,
% one atom at each time position with increasing frequency.:::
%
% a = 10;
% M = 40;
%
% F = frame('dgt', 'gauss', a, M);
%
% c = framenative2coef(F, eye(40));
%
% f = frsyn(F, c);
%
% See also: frame, frana, plotframe
complainif_notenoughargs(nargin,2,'FRSYN');
complainif_notvalidframeobj(F,'FRSYN');
L=framelengthcoef(F,size(insig,1));
F=frameaccel(F,L);
outsig=F.frsyn(insig);