Index exceeds matrix dimensions.

13 ビュー (過去 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 Center および File ExchangeMatrix Indexing についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by