How to tell MATLAB to calculate a portion of code based on the image range denoted in an excel document.

2 次查看(过去 30 天)
The MATLAB code reads the excel document with the code line: [data, text, raw] = xlsread(inputPtListFile);
A for loop is run so that the necessary calculations are determined for each patient in the excel document. This is done by saying "for 3:52;" since row 3 is the first patient name and row 52 is the last patient name. A function is called in this for loop. Inside of this function, is where I want to calculate the Percentage_Att_Bone for a specific image range as specified in the previously mentioned excel document for each patient name. The ranges are in the same rows as the patient name and number.
How do I go about adding code lines to have the code calculate the Percentage_Att_Bone for the specific image ranges listed in the excel document?
  1 个评论
Brian Hannan
Brian Hannan 2017-8-3
Hi Justine, what do you mean when you say "image range"? Does this range index a collection of images, or are you selecting a region of interest in one image?

请先登录,再进行评论。

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by