simtb_generateSM() - Generates a SM based on definitions in simtb_SMsource() Usage: >> [SM,TT] = simtb_generateSM(sourceID, nV); >> [SM,TT] = simtb_generateSM(sourceID, nV, offset_x, offset_y, theta, spread); INPUTS: sourceID = ID of source to generate nV = number of 1-D voxels; image will be nV x nV offset_x = offset in x (in pixels) [OPTIONAL, default = 0] offset_y = offset in y (in pixels) [OPTIONAL, default = 0] theta = rotation in degrees [OPTIONAL, default = 0] spread = spatial magnification factor [OPTIONAL, default = 1] OUTPUTS: SM = nV x nV spatial mapindices of the selected spatial map TT = Tissue Type of SM [e.g., 1 = SIGNAL DROPUT, 2 = WM, 3 = GM, 4 = CSF] see also: simtb_SMsource()