How can I retrieve data from excel file to using in MATLAB operation?

 Réponse acceptée

niklasnylen
niklasnylen le 5 Fév 2015
Use xlsread

6 commentaires

Tq niklas, i know, but how to read array data..
For example my problem is: I want to read. Intensity for every spot in microarray image which is value intensity already store in excel file by using xlswrite...
When i get the value intensity i will compare to one value to get result...this operation i want to execute for all spots in microarray image..:).. Like a loop
I'm not exactly sure what you are asking for, but this code will read data from an excel sheet, and compare each point of the data to a constant value of 5. isLargerThanConstant will have be a matrix with a 1 where the value is larger than the constant and 0 otherwise:
data = xlsread('data.xlsx');
myConstant = 5;
isLargerThanConstant = data>myConstant;
thank you Niklas Nylein, i'll try...seem like solution for my problem :) ... i will try alter the code.....if my application success to execute....i'll inform you brother...
i want to retrieve every data from my table (as atachment) in column red and green....and compare to one value.....do you have any suggesstion code...tq
i want to retrieve every data from my table (as atachment) in column red and green....and compare to one value.....do you have any suggesstion code...tq

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by