How to tell MATLAB to calculate a portion of code based on the image range denoted in an excel document.
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentario
Brian Hannan
el 3 de Ag. de 2017
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?
Respuestas (0)
Ver también
Categorías
Más información sobre Spreadsheets en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!