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

 採用された回答

niklasnylen
niklasnylen 2015 年 2 月 5 日

0 投票

Use xlsread

6 件のコメント

Mimie Basha
Mimie Basha 2015 年 2 月 5 日
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
niklasnylen
niklasnylen 2015 年 2 月 5 日
編集済み: niklasnylen 2015 年 2 月 5 日
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;
Mimie Basha
Mimie Basha 2015 年 2 月 6 日
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...
Mimie Basha
Mimie Basha 2015 年 2 月 12 日
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
Mimie Basha
Mimie Basha 2015 年 2 月 12 日
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
praveen chandaliya
praveen chandaliya 2017 年 10 月 4 日
xlsread read image form excel

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by