Skip to content

AFNI/NIfTI Server

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

Doxygen Source Code Documentation


idummy.m File Reference

Go to the source code of this file.


Functions

 if (g > 1)%Fill in-1 for the first level if(method
 d (find(x==1),:)

Variables

function d
end n = length(x)
 g = max(x)
 ncols = g - (method ~= 3)
end Fill in in the appropriate
column for other levels 
m3 = (method == 3)
for j

Function Documentation

d find(x==1)  ,
 

if g  ,
 


Variable Documentation

d
 

Initial value:

 idummy(x, method)
%DUMMY  Creates a matrix of dummy variables for a discrete variable
%   D=IDUMMY(X,METHOD) creates an array D of dummy variables for the
%   grouping variable I (integers 1,...,g)

Definition at line 20 of file idummy.m.

g = max(x)
 

Definition at line 18 of file idummy.m.

Referenced by add_extra_color(), AffineBruteForceWarp(), AFNI_vnlist_func_overlay(), apser(), balanc_(), bandr_(), bqr_(), calc_error(), calc_sse(), Calc_Trans(), cbal_(), cmyk_ycck_convert(), color_init(), corth_(), cub_shift2(), DC_init_im_col(), DC_pixel_to_rgb(), DC_rgb_to_pixel(), DC_spectrum_AJJ(), DC_spectrum_ZSS(), DCM_ListToString(), draw_grids(), draw_marker(), DRAW_ttatlas_CB(), estimate(), fft_shift2(), ft_shift2(), gaminv(), gaussians(), generate_initial_guess(), GIF_Image_Header(), gran1_(), grat1(), gratio(), hept_shift2(), htrid3_(), htridi_(), huber_func(), imtql1_(), imtql2_(), imtqlv_(), incbeta_inverse(), ind_printf(), lin_shift2(), main(), make_plot(), Make_RGB_lookup(), map_v2s_results(), minfit_(), mri_drawemptyrectangle(), mri_drawfilledrectangle(), mri_drawline(), mri_drawtext(), mri_dup2D_rgb3(), mri_multiply_complex(), NI_val_to_text(), nn_shift2(), ortbak_(), orthes_(), ortran_(), output_pdf_results(), parse_geometry(), PBAR_bigexpose_CB(), ppm_readppmrow(), ppmd_circle(), ppmd_filledrectangle(), ppmd_line(), ppmd_polyspline(), ppmd_spline3(), ppmd_text(), PV2S_init_plugin_opts(), PV2S_main(), PV2S_process_args(), quint_shift2(), reload_DC_colordef(), rgb_gray_convert(), rgb_to_pixel(), rgb_to_XImage_clever(), rgb_ycc_convert(), set_color_memplot(), ShadeVoxel(), SHIFT_two_rows(), SUMA_Add_Color(), SUMA_ColorVec_Info(), SUMA_Interpret_AFNIColor(), SUMA_iRGB_to_OverlayPointer(), SUMA_OpenDrawnROI_1D(), SUMA_Paint_SO_ROIplanes(), SUMA_process_NIML_data(), SUMA_readFSannot(), svd_(), tc_rgb_to_pixel(), THD_autonudge(), tql1_(), tql2_(), tqli(), tqlrat_(), tred1_(), tred2(), tred2_(), tred3_(), ts_shift2(), vpGetMaterial(), vpSetMaterial(), vpShadeTable(), Xgamm(), yuv2rgb_c_16(), yuv2rgb_c_24_bgr(), yuv2rgb_c_24_rgb(), yuv2rgb_c_32(), and zzmpco_().

for j
 

Initial value:

(2-m3):g
      d(find(x == j),j-1+m3) = 1

Definition at line 31 of file idummy.m.

end Fill in in the appropriate column for other levels m3 = (method == 3)
 

Definition at line 30 of file idummy.m.

Referenced by bqr_(), SUMA_FreeSurfer_ReadBin_eng(), vpMatrixMult4(), and vpWindowPHIGS().

end n = length(x)
 

Definition at line 17 of file idummy.m.

ncols = g - (method ~= 3)
 

Definition at line 19 of file idummy.m.

Referenced by extract_index(), extract_xyz(), ReadJPEG(), SUMA_readFScurv(), and vardata().

 

Powered by Plone

This site conforms to the following standards: