## Diff of /frames/framelengthcoef.m[059924] .. [c3bd51] Maximize Restore

### Switch to unified view

a/frames/framelengthcoef.m b/frames/framelengthcoef.m
`...`
`...`
25
```  case {'filterbank','ufilterbank','ufilterbank','ufilterbankreal'}
```
25
```  case {'filterbank','ufilterbank','ufilterbank','ufilterbankreal'}
```
26
```    L=round(Ncoef/sum(1./F.a));
```
26
```    L=round(Ncoef/sum(1./F.a));
```
27
```  case {'nsdgt','unsdgt','nsdgtreal','unsdgtreal'}
```
27
```  case {'nsdgt','unsdgt','nsdgtreal','unsdgtreal'}
```
28
```    L=sum(F.a);
```
28
```    L=sum(F.a);
```
29
```  otherwise
```
29
```  otherwise
```
30
```    % handle all the bases
```
30
```    L=Ncoef/framered(F);
```
31
```    L=Ncoef;
```
32
```end;
```
31
```end;
```
33
32
34
```L
```
33
```% Verify the computed length
```
35
```L-round(L)
```
34
```if ~(L==framelength(F,L))
```
36
37
```if L~=round(L)
```
38
```  error(['%s: The coefficient number given does not correspond to a valid ' ...
```
35
```  error(['%s: The coefficient number given does not correspond to a valid ' ...
```
39
```         'set of coefficients for this type of frame.'],upper(mfilename));
```
36
```         'set of coefficients for this type of frame.'],upper(mfilename));
```
37
```
```
40
```end;
```
38
`end;`