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

조회 수: 1 (최근 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개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by