Index exceeds matrix dimensions.

13 vues (au cours des 30 derniers jours)
Fernando Moreno Barbosa
Fernando Moreno Barbosa le 7 Oct 2017
Commenté : Rik le 2 Déc 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 commentaires
ANKUR KUMAR
ANKUR KUMAR le 2 Déc 2017
Please provide us the program, which you have created.
Rik
Rik le 2 Déc 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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Matrix Indexing dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by