How to tell MATLAB to calculate a portion of code based on the image range denoted in an excel document.
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaire
Brian Hannan
le 3 Août 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?
Réponses (0)
Voir également
Catégories
En savoir plus sur Spreadsheets dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!