comparison m-toolbox/classes/+utils/@math/math.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
9 % >> methods utils.math 9 % >> methods utils.math
10 % 10 %
11 % HISTORY: M Hewitson 26-05-08 11 % HISTORY: M Hewitson 26-05-08
12 % Creation 12 % Creation
13 % 13 %
14 % VERSION: $Id: math.m,v 1.77 2011/10/07 08:19:06 miquel Exp $ 14 % VERSION: $Id: math.m,v 1.79 2011/12/01 09:41:22 hewitson Exp $
15 % 15 %
16 % 16 %
17 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 17 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
18 18
19 classdef math 19 classdef math
25 25
26 26
27 %------------------------------------------------------------- 27 %-------------------------------------------------------------
28 % List other methods 28 % List other methods
29 %------------------------------------------------------------- 29 %-------------------------------------------------------------
30 30 varargout = welchscale(varargin);
31 varargout = intfact(varargin); % Compute two integers P and Q 31 varargout = intfact(varargin); % Compute two integers P and Q
32 varargout = cpf(varargin) 32 varargout = cpf(varargin)
33 varargout = lp2z(varargin) 33 varargout = lp2z(varargin)
34 p = phase(resp) 34 p = phase(resp)
35 r = deg2rad(deg, min, sec) 35 r = deg2rad(deg, min, sec)
78 FisMat = fisher_2x2(i1,i2,n,mdl,params,numparams,freqs,N,pl,inNames,outNames) 78 FisMat = fisher_2x2(i1,i2,n,mdl,params,numparams,freqs,N,pl,inNames,outNames)
79 FisMat = fisher_1x1(i1,n,mdl,params,numparams,freqs,N,pl,inNames,outNames) 79 FisMat = fisher_1x1(i1,n,mdl,params,numparams,freqs,N,pl,inNames,outNames)
80 best = diffStepFish(i1,i2,S11,S12,S21,S22,N,meval,params,ngrid,ranges,freqs,inNames,outNames) 80 best = diffStepFish(i1,i2,S11,S12,S21,S22,N,meval,params,ngrid,ranges,freqs,inNames,outNames)
81 best = diffStepFish_1x1(i1,S11,N,meval,params,values,ngrid,ranges,freqs,inNames,outNames) 81 best = diffStepFish_1x1(i1,S11,N,meval,params,values,ngrid,ranges,freqs,inNames,outNames)
82 loglk = loglikelihood(varargin) 82 loglk = loglikelihood(varargin)
83 loglk = loglikelihood_ssm(varargin) 83 [loglk snr] = loglikelihood_ssm(varargin)
84 [loglk snr] = loglikelihood_matrix(varargin) 84 [loglk snr] = loglikelihood_matrix(varargin)
85 snrexp = stnr(tmplt1,tmplt2,out1,out2,InvS11,InvS22,InvS12,InvS21) 85 snrexp = stnr(tmplt1,tmplt2,out1,out2,InvS11,InvS22,InvS12,InvS21)
86 loglk = loglikelihood_ssm_td(xp,in,out,parnames,model,inNames,outNames,Noise,varargin) 86 loglk = loglikelihood_ssm_td(xp,in,out,parnames,model,inNames,outNames,Noise,varargin)
87 loglk = loglikelihood_td(res,noise,varargin) 87 loglk = loglikelihood_td(res,noise,varargin)
88 params = fitPrior(prior,nparam,chain,bins) 88 params = fitPrior(prior,nparam,chain,bins)
99 chi2 = chisquare_ssm_td(xp,in,out,parnames,model,inNames,outNames,varargin) 99 chi2 = chisquare_ssm_td(xp,in,out,parnames,model,inNames,outNames,varargin)
100 [CorrC,SigC] = cov2corr(Covar) 100 [CorrC,SigC] = cov2corr(Covar)
101 Covar = corr2cov(CorrC,SigC) 101 Covar = corr2cov(CorrC,SigC)
102 R = Rcovmat(x) 102 R = Rcovmat(x)
103 smpl = mhsample_td(model,in,out,cov,number,limit,parnames,Tc,xi,xo,search,jumps,parplot,dbg_info,inNames,outNames,inNoise,inNoiseNames,cutbefore,cutafter) 103 smpl = mhsample_td(model,in,out,cov,number,limit,parnames,Tc,xi,xo,search,jumps,parplot,dbg_info,inNames,outNames,inNoise,inNoiseNames,cutbefore,cutafter)
104 Bxy = rjsample(model,in,out,nse,cov,number,limit,param,Tc,xi,xo,search,jumps,parplot,dbg_info,inNames,outNames,inModel,outModel) 104 [Bxy LogLambda] = rjsample(mmdl,fin,fout,mnse,cvar,N,rang,param,Tc,xi,xo,search,jumps,parplot,debug,inNames,outNames,anneal,SNR0,DeltaL,inModel,outModel);
105 [Fout,x] = ecdf(y) 105 [Fout,x] = ecdf(y)
106 cVal = SKcriticalvalues(n1,n2,alph) 106 cVal = SKcriticalvalues(n1,n2,alph)
107 x = Finv(p,n1,n2) 107 x = Finv(p,n1,n2)
108 p = Fcdf(x,n1,n2) 108 p = Fcdf(x,n1,n2)
109 rsp = mtxiirresp(fil,freq,fs,bank) 109 rsp = mtxiirresp(fil,freq,fs,bank)