Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


QRDecom.m File Reference

Go to the source code of this file.


Functions

Tolerance for computing rank
from 
diag (R) after QR decomposition%[nrows

Variables

 function [err, Qd, dfx, dmat2]
Bethesda MD Define the function
name for easy referencing 
FuncName = 'QRDecom.m'
Debug Flag DBG = 1
initailize return variables err = 1
Tolerance for computing rank
from 
ncols = size(dmat)
Find the null space of the
constraints 
matrix [Qc, Rc, Ec] = qr(cmat')
 pc = Rrank(Rc)
 Qc0 = Qc(:,pc+1:end)
Do qr decomposition on design
matrix projected to null space 
Dproj = dmat*Qc0
 dfx = qr(Dproj,0) Rrank(Rd)
 Qd = Qd(:,1:dfx)
 Rd = Rd(1:dfx,1:dfx)
Return reduced design matrix
if requested if nargout 
dmat2 = Qd' * dmat
 return

Function Documentation

Tolerance for computing rank from diag R   ) 
 

Referenced by matrix_inverse_dsc().


Variable Documentation

Debug Flag DBG = 1
 

Definition at line 35 of file QRDecom.m.

dfx = qr(Dproj,0) Rrank(Rd)
 

Definition at line 51 of file QRDecom.m.

Return reduced design matrix if requested if nargout dmat2 = Qd' * dmat
 

Definition at line 57 of file QRDecom.m.

Do qr decomposition on design matrix projected to null space Dproj = dmat*Qc0
 

Definition at line 49 of file QRDecom.m.

end err = 1
 

Definition at line 60 of file QRDecom.m.

Bethesda MD Define the function name for easy referencing FuncName = 'QRDecom.m'
 

Definition at line 32 of file QRDecom.m.

function[err, Qd, dfx, dmat2]
 

Initial value:

 QRDecom(dmat, cmat)
%
%   [err,] = QRDecom.m ()
%
%Purpose:
%   
%   
%   
%Input Parameters:
%   
%   
%   
%Output Parameters:
%   err : 0 No Problem
%       : 1  Problems
%   
%   
%      
%Key Terms:
%   
%More Info :
%   
%   
%   
%
%     Author : Gang Chen
%     Date : Tue Mar 23 16:09:23 EST 2004
%     SSCC/NIMH/ National Institutes of Health

Definition at line 1 of file QRDecom.m.

Find the null space of the constraints matrix[Qc, Rc, Ec] = qr(cmat')
 

Definition at line 44 of file QRDecom.m.

Tolerance for computing rank from ncols = size(dmat)
 

Definition at line 41 of file QRDecom.m.

pc = Rrank(Rc)
 

Definition at line 45 of file QRDecom.m.

Referenced by basis_expr(), basis_parser(), draw_image_line(), get_pcor_thresh_coef(), ISQ_saver_CB(), main(), PARSER_evaluate_one(), PARSER_evaluate_vector(), PARSER_generate_code(), PARSER_has_symbol(), PARSER_mark_symbols(), PCOR_get_pcor_and_coef(), PDF_copy(), and RWC_setup_fims().

Qc0 = Qc(:,pc+1:end)
 

Definition at line 46 of file QRDecom.m.

Qd = Qd(:,1:dfx)
 

Definition at line 52 of file QRDecom.m.

Rd = Rd(1:dfx,1:dfx)
 

Definition at line 53 of file QRDecom.m.

return
 

Definition at line 61 of file QRDecom.m.

 

Powered by Plone

This site conforms to the following standards: