Skip to content

AFNI/NIfTI Server

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

Doxygen Source Code Documentation


CompCondNum.m File Reference

Go to the source code of this file.


Functions

 fprintf (1,'\n')
 for (i=1:1:N_tasks)
 for (j=1:1:N_basis)
 fprintf (2, 'Loading%s\n', Task(i).Name(j).str)
 length (X) Max(i)
 if (i==1 &j==1)
 plot (t, Xm)
 title (stmp, 'Interpreter', 'none')
create the coloumn (s) for the drifting for(j

Variables

 function [err, CondNum]
Bethesda Maryland Define the
function name for easy referencing 
FuncName = 'CondNum'
Debug Flag DBG = 1
initailize return variables err = 1
 N_tasks = 4
 N_basis = 1
 X = load (Task(i).Name(j).str)
 Xm = X(:)
 stmp = sprintf('%s ', Task(i).Name(j).str)
end end t = [0:1:(length(X)-1)]
end one = ones(N_TR,1)
 slope = 0
end end design matrix Dsgn = [one slope Xm]
check condition number of
the design matrix 
M = Dsgn'*Dsgn
 CondNum = cond(Dsgn'*Dsgn)
 return

Function Documentation

create the coloumn  ) 
 

for j  = 1:1:N_basis  ) 
 

for = 1:1:N_tasks  ) 
 

fprintf ,
'Loading%s\n ,
Task(i).Name(j).  str
 

fprintf ,
'\n
 

if = =1 & j==1  ) 
 

length  ) 
 

plot ,
Xm 
 

title stmp  ,
'Interpreter'  ,
'none' 
 

Referenced by AIVVV_imseq_retitle(), DRAW_choose_CB(), drive_MCW_grapher(), drive_MCW_imseq(), glutCreateWindow(), glutSetIconTitle(), glutSetWindowTitle(), new_MCW_graf(), new_MCW_pasgraf(), NOTES_choose_CB(), NOTES_finalize_dset_CB(), NUD_choose_CB(), NUD_finalize_dset_CB(), patch_PLUGIN_dataset_links(), PLUTO_imseq_retitle(), r_mk_scale_bar(), RCREND_choose_CB(), RCREND_finalize_dset_CB(), RCREND_finalize_func_CB(), REND_choose_CB(), REND_finalize_dset_CB(), REND_finalize_func_CB(), SUMA_CreateFileSelectionDialog(), SUMA_CreateTextShell(), and T3D_open_view_CB().


Variable Documentation

CondNum = cond(Dsgn'*Dsgn)
 

Definition at line 73 of file CompCondNum.m.

Debug Flag DBG = 1
 

Definition at line 35 of file CompCondNum.m.

end end design matrix Dsgn = [one slope Xm]
 

Definition at line 70 of file CompCondNum.m.

err = 1
 

Definition at line 75 of file CompCondNum.m.

Bethesda Maryland Define the function name for easy referencing FuncName = 'CondNum'
 

Definition at line 32 of file CompCondNum.m.

function[err, CondNum]
 

Initial value:

 CompCondNum (N_tasks, N_basis, Task, N_TR, polort)
%
%   [err,] = CondNum ()
%
%Purpose:
%   
%   
%   
%Input Parameters:
%   
%   
%   
%Output Parameters:
%   err : 0 No Problem
%       : 1  Problems
%   
%   
%      
%Key Terms:
%   
%More Info :
%   
%   
%   
%
%     Author : Gang Chen
%     Date : Wed Aug 20 15:46:08 EDT 2003
%     SSCC/NIMH/ National Institutes of Health

Definition at line 1 of file CompCondNum.m.

end slcDisp M = Dsgn'*Dsgn
 

else N_basis = 1
 

Definition at line 316 of file IndiAna.m.

N_tasks = 4
 

Definition at line 39 of file CompCondNum.m.

end one = ones(N_TR,1)
 

Definition at line 61 of file CompCondNum.m.

return
 

Definition at line 76 of file CompCondNum.m.

slope = 0
 

Definition at line 63 of file CompCondNum.m.

Referenced by clip_line_to_rect(), correlate(), DoKillDim(), filter(), PERMTEST_compute(), Resize_Array_Height(), and zzclip_().

stmp = sprintf('%s ', Task(i).Name(j).str)
 

Definition at line 54 of file CompCondNum.m.

Referenced by DWI_AFNI_update_graph(), DWI_NIML_create_newgraph(), SUMA_AddNelHist(), SUMA_AddNgrHist(), SUMA_cb_createSumaCont(), SUMA_cb_moreViewerInfo(), SUMA_ColorMapVec_Info(), SUMA_ColorOverlayPlane_Info(), SUMA_ColorVec_Info(), SUMA_DsetInfo(), SUMA_Engine(), SUMA_FakeIt(), SUMA_find_named_SOp_inDOv(), SUMA_FreeSurfer_Read_eng(), SUMA_FreeSurfer_ReadBin_eng(), SUMA_GetColIndex(), SUMA_GetDsetColIndex(), SUMA_help_Cmap_message_Info(), SUMA_help_message_Info(), SUMA_HistString(), SUMA_input(), SUMA_InsertDsetPointer(), SUMA_Interpret_AFNIColor(), SUMA_iRGB_to_OverlayPointer(), SUMA_Load_Surface_Object_eng(), SUMA_NewDsetID(), SUMA_nimlSO2SO(), SUMA_NodeXYZ2NodeXYZ_nel(), SUMA_oDsetNel2nDsetNgr(), SUMA_OKassign(), SUMA_OpenDrawnROI_1D(), SUMA_OpenDrawnROI_NIML(), SUMA_PlaneOrder_Info(), SUMA_read_ppm(), SUMA_Read_SpecFile(), SUMA_Read_SureFit_Param(), SUMA_SaveDrawnROI_1D(), SUMA_SaveDrawnROINIML(), SUMA_SaveVisualState(), SUMA_SendToAfni(), SUMA_SendToSuma(), SUMA_SO2nimlSO(), SUMA_SOVolPar2VolPar_nel(), SUMA_SpecStructInfo(), SUMA_SureFit_Read_Coord(), SUMA_SureFit_Read_Topo(), SUMA_SurfaceObject_Info(), SUMA_SurfNorm(), SUMA_TypeOfColNumb(), SUMA_TypeOfDsetColNumb(), SUMA_VolPar_Info(), SUMA_Write_DrawnROI_NIML(), and SUMA_WriteDset().

end end t = [0:1:(length(X)-1)]
 

Definition at line 58 of file CompCondNum.m.

Referenced by AFNI_brick_to_mri(), algdiv(), alnrel(), apser(), argverify(), autovar(), badop(), badstg(), badtag(), badthing(), badtype(), bakvec_(), basis_block4(), basis_block5(), basis_block_hrf4(), basis_block_hrf5(), basym(), bcorr(), bfrac(), bgrat(), blackman_window(), bpser(), bqr_(), bratio(), brcmp1(), brcomp(), builtin(), bup(), c_mult(), c_sqrt(), calc_error(), calc_sse(), calculate_acontrasts(), calculate_adifferences(), calculate_ameans(), calculate_bcontrasts(), calculate_bdifferences(), calculate_bmeans(), calculate_xcontrasts(), calculate_xdifferences(), calculate_xmeans(), cdft(), comblock(), commlen(), convci(), convic(), create_bucket(), cubic_spline(), cumt(), dataname(), delete_oldest(), dln1px(), dlngam(), do_uninit_equivs(), docommon(), doequiv(), doinclude(), DRAW_label_EV(), dtree_create(), dtree_delete_coords(), dtree_destroy(), dtree_insert(), dtree_insert_at_node(), dtree_position(), dtree_unlink_node(), erf1(), erfc1(), erri(), errl(), errstr(), evaluate_span(), exarif(), extract_median(), face_load(), FactorPerspectiveView(), Fatal(), fatali(), fatalstr(), FFT_2dchirpz(), figi2_(), figi_(), fill_area(), fixargs(), fmtname(), fpser(), freetemps(), fwd_strcpy(), gam1(), gaminv(), gamln(), gamma_model(), gcd(), getarg_(), grat1(), gratio(), h_indx(), hamming_window(), hqr2_(), hqr_(), huber_func(), i_indx(), i_tem(), in_vector(), incbeta_inverse(), Inline(), insert_newest(), intdouble(), invit_(), krput(), matrix_transpose(), maxtype(), med3(), min_different_chars(), mkaddr(), mkconst(), mkconv(), mkname(), mkrealcon(), newarg(), opconv(), out_call(), output_state_history(), pad_common(), PERMTEST_compute(), PERMTEST_main(), popinclude(), pow_zi(), print_ne(), prune(), putcall(), putch1(), putcx1(), putentries(), pythag_(), qh_checkflags(), qh_initflags(), qh_printhyperplaneintersection(), qh_readfeasible(), qh_readpoints(), qzhes_(), qzit_(), qzval_(), qzvec_(), rcomp(), rd_Z(), readref(), recvDecodingTables(), retval(), RIC_ToCardiacPhase(), rlog(), rlog1(), save_argtypes(), sendMTFValues(), set_tmp_names(), setbound(), setfmt(), signal_model(), sin_func(), sin_grad(), stree_create(), stree_destroy(), stree_extract_max(), stree_insert(), subcheck(), SUMA_etime(), SUMA_Find_IminImax(), SUMA_Flip_Color_Map(), SUMA_isConsistent(), SUMA_isinsphere(), SUMA_isTriLinked(), SUMA_MT_isIntersect_Triangle(), SUMA_StretchToFitLeCerveau(), tb_project_to_sphere(), THRESH_compute(), THRESH_main(), tnonc_s2p(), to_upper(), tostring(), tqlrat_(), trackball(), trackball_Phi(), unamstring(), UTL_DeltaTime(), UTL_GetTimeStamp(), UTL_ReleaseTimeStamp(), vardcl(), vpBicubicFilter(), vpBoxFilter(), vpGaussianFilter(), vpLinearFilter(), vpTranslate(), warn1(), warni(), waveform(), waveform_EXPR(), waveform_GAM(), waveform_WAV(), wr_globals(), and Xgamm().

X = load (Task(i).Name(j).str)
 

Definition at line 46 of file CompCondNum.m.

else Xm = X(:)
 

Definition at line 53 of file CompCondNum.m.

 

Powered by Plone

This site conforms to the following standards: