Mercurial > hg > ltpda
comparison m-toolbox/classes/@ao/cohere.m @ 43:bc767aaa99a8
CVS Update
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Tue, 06 Dec 2011 11:09:25 +0100 |
parents | f0afece42f48 |
children |
comparison
equal
deleted
inserted
replaced
0:f0afece42f48 | 43:bc767aaa99a8 |
---|---|
18 % | 18 % |
19 % OUTPUTS: b - output analysis object | 19 % OUTPUTS: b - output analysis object |
20 % | 20 % |
21 % <a href="matlab:utils.helper.displayMethodInfo('ao', 'cohere')">Parameters Description</a> | 21 % <a href="matlab:utils.helper.displayMethodInfo('ao', 'cohere')">Parameters Description</a> |
22 % | 22 % |
23 % VERSION: $Id: cohere.m,v 1.43 2011/04/08 08:56:16 hewitson Exp $ | 23 % VERSION: $Id: cohere.m,v 1.44 2011/12/01 09:35:42 hewitson Exp $ |
24 % | 24 % |
25 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | 25 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
26 | 26 |
27 function varargout = cohere(varargin) | 27 function varargout = cohere(varargin) |
28 | 28 |
80 else | 80 else |
81 sets = {'Default'}; | 81 sets = {'Default'}; |
82 pl = getDefaultPlist(); | 82 pl = getDefaultPlist(); |
83 end | 83 end |
84 % Build info object | 84 % Build info object |
85 ii = minfo(mfilename, 'ao', 'ltpda', utils.const.categories.sigproc, '$Id: cohere.m,v 1.43 2011/04/08 08:56:16 hewitson Exp $', sets, pl); | 85 ii = minfo(mfilename, 'ao', 'ltpda', utils.const.categories.sigproc, '$Id: cohere.m,v 1.44 2011/12/01 09:35:42 hewitson Exp $', sets, pl); |
86 ii.setModifier(false); | 86 ii.setModifier(false); |
87 ii.setArgsmin(2); | 87 ii.setArgsmin(2); |
88 end | 88 end |
89 | 89 |
90 %-------------------------------------------------------------------------- | 90 %-------------------------------------------------------------------------- |
108 p = param({'Type',['type of output scaling. Choose from:<ul>', ... | 108 p = param({'Type',['type of output scaling. Choose from:<ul>', ... |
109 '<li>MS - Magnitude-Squared Coherence:<br><tt>(abs(Sxy))^2 / (Sxx * Syy)</tt></li>', ... | 109 '<li>MS - Magnitude-Squared Coherence:<br><tt>(abs(Sxy))^2 / (Sxx * Syy)</tt></li>', ... |
110 '<li>C - Complex Coherence:<br><tt>Sxy / sqrt(Sxx * Syy)</tt></li></ul>']}, {1, {'C', 'MS'}, paramValue.SINGLE}); | 110 '<li>C - Complex Coherence:<br><tt>Sxy / sqrt(Sxx * Syy)</tt></li></ul>']}, {1, {'C', 'MS'}, paramValue.SINGLE}); |
111 pl.append(p); | 111 pl.append(p); |
112 | 112 |
113 p = param('newMethod', paramValue.TRUE_FALSE); | |
114 pl.append(p); | |
115 | |
113 end | 116 end |
114 | 117 |