Index exceeds matrix dimensions.

13 Ansichten (letzte 30 Tage)
Fernando Moreno Barbosa
Fernando Moreno Barbosa am 7 Okt. 2017
Kommentiert: Rik am 2 Dez. 2017
Hello Team.
I have R2017a and a am using CERR to calculate the 3D-gamma
I am using DICOM imagen in windows command, I type CERR and on viewer load a plan while a load two file binary with dose diference to calculate 3D gamma. this binary files are Monte carlo dose simulation of radioisotope source
and pop up this error
Index exceeds matrix dimensions.
Error in finterp3 (line 135)
interpV = double(field3M(INDEXLIST)) .* oneMinusRowMod .* oneMinusColMod .* oneMinusSlcMod;
Error in slice3DVol (line 161)
slc = finterp3(xM(:), yM(:), zM(:), data3M(maxY:minY, minX:maxX, minZ:maxZ), xVec, fliplr(yVec), zVec, 0);
Error in prepareDosesForGamma (line 106)
doseTmp = slice3DVol(dA, xV, yV, zV, newZgrid(slcNum), 3, 'linear', inputTM, [], newXgrid, newYgrid);
Error in createGammaDose (line 19)
[newXgrid, newYgrid, newZgrid, doseArray1, doseArray2] = prepareDosesForGamma(doseNum1,doseNum2,1, planC);
Error in CERRGammafnc (line 211)
createGammaDose(baseDose,refDose,doseDiffIN,DTA,threshold);
Error while evaluating UIControl Callback.
  2 Kommentare
ANKUR KUMAR
ANKUR KUMAR am 2 Dez. 2017
Please provide us the program, which you have created.
Rik
Rik am 2 Dez. 2017
You can use the debugger to follow the execution steps, as well as setting Matlab to stop on error (pause on error on R2017b).
The function OP refers to seems to be from here on Github.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by