Improve company productivity with a Business Account.Sign Up

x
?
Solved

read one  column of excel using matlab

Posted on 2008-06-09
3
Medium Priority
?
1,744 Views
Last Modified: 2016-03-02
HI

I try to read a specific column  from excel sheet for example column 1 and column 3
I used
 A = xlsread('test.xls' ) ,but it read the whole excel sheet

can any one help me in that
0
Comment
Question by:furatsami
3 Comments
 

Author Comment

by:furatsami
ID: 21750809
500
0
 
LVL 5

Accepted Solution

by:
LukeyJay earned 375 total points
ID: 21750900
How did it bring in the data?  If it brought it in as an array, you could just grab the first column or whatever:

A1 = A(1, :);

or something like that.  If it comes in as text, I'll have to think some more.

Luke
0
 

Expert Comment

by:anilpathrikar
ID: 35782830
comment
0

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

584 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question