Index exceeds matrix dimensions.

조회 수: 12 (최근 30일)
Fernando Moreno Barbosa
Fernando Moreno Barbosa 2017년 10월 7일
댓글: Rik 2017년 12월 2일
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
ANKUR KUMAR
ANKUR KUMAR 2017년 12월 2일
Please provide us the program, which you have created.
Rik
Rik 2017년 12월 2일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by