Doxygen Source Code Documentation
TaskTest.m File Reference
Go to the source code of this file.
|
Functions |
for each there | are (polort+1) paramters in the baseline model fprintf(1 |
id | are: (id n) |
| for (i=1:1:N_tasks) |
| fprintf (1,'No.%i task vector= ', i) |
| tasktest (i).name |
| for (j=1:1:N_basis) |
| mtrx (i,(i-1)*N_basis+j+(polort+1)*N_runs) |
Assign one for each basis
function of every task | mtrx ((i-1)*N_basis+j,(i-1)*N_basis+j+(polort+1)*N_runs) |
| for (k=1:1:(polort+1)*N_runs+N_basis *N_tasks+N_base) |
| fprintf (1, '%g', mtrx((i-1)*N_basis+j, k)) |
| fprintf (fid, '%g ', mtrx((i-1)*N_basis+j, k)) |
end | fprintf (fid, '\n') |
end | fprintf (1, '%g', mtrx(i, k)) |
| fprintf (fid, '%g ', mtrx(i, k)) |
end | fprintf (1, '\n') |
| fclose (fid) |
Variables |
| function [err, tasktest] |
Bethesda Maryland Define the
function name for easy referencing | FuncName = 'TaskTest' |
Debug Flag | DBG = 1 |
initailize return variables | err = 1 |
Create a matrix so that dDeconvolve
uses for regressor test | mtrx = zeros(N_tasks, (polort+1)*N_runs+N_basis*N_tasks+N_base) |
for each | run |
| fid = fopen(tasktest(i).name, 'w') |
| return |
Function Documentation
for each there are |
( |
polort+ |
1 |
) |
|
|
id are: |
( |
id |
n |
) |
[virtual] |
|
fprintf |
( |
fid |
, |
|
|
'%g ' |
, |
|
|
mtrx(i, k) |
|
|
) |
|
|
end fprintf |
( |
1 |
, |
|
|
'%g' |
, |
|
|
mtrx(i, k) |
|
|
) |
|
|
fprintf |
( |
1 |
, |
|
|
'%g' |
, |
|
|
mtrx((i-1)*N_basis+j, k) |
|
|
) |
|
|
fprintf |
( |
1 |
, |
|
|
'No.%i task |
vector = ' , |
|
|
i |
|
|
) |
|
|
Variable Documentation
fid = fopen(tasktest(i).name, 'w') |
|
Bethesda Maryland Define the function name for easy referencing FuncName = 'TaskTest' |
|
|
Initial value: TaskTest (N_runs, polort, N_basis, N_tasks, Task, N_base)
%
% [err,] = ContrTest ()
%
%Purpose:
%
% Generate matrix for the -glt option in 3dDevolve
%
%Input Parameters:
%
%
%
%Output Parameters:
% err : 0 No Problem
% : 1 Problems
%
%
%
%Key Terms:
%
%More Info :
%
%
%
%
% Author : Gang Chen
% Date : Mon Jul 21 18:25:31 EDT 2003
% SSCC/NIMH/ National Institutes of Health
Definition at line 1 of file TaskTest.m. |