How can I retrieve data from excel file to using in MATLAB operation?
You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Show older comments
0 votes
How can I retrieve data from excel file to using in MATLAB operation?
Accepted Answer
niklasnylen
on 5 Feb 2015
0 votes
Use xlsread
6 Comments
Mimie Basha
on 5 Feb 2015
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
on 5 Feb 2015
Edited: niklasnylen
on 5 Feb 2015
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
on 6 Feb 2015
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
on 12 Feb 2015
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
on 12 Feb 2015
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
xlsread read image form excel
More Answers (0)
Categories
Find more on Spreadsheets in Help Center and File Exchange
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)