Sign in

Not a member? | Forgot your Password?

Search matlab

Search tips

Find us on Facebook!





Subscribe to matlab

Search tips

Free PDF Downloads

A Quadrature Signals Tutorial: Complex, But Not Complicated

Understanding the 'Phasing Method' of Single Sideband Demodulation

Complex Digital Signal Processing in Telecommunications

Introduction to Sound Processing

C++ Tutorial

Introduction of C Programming for DSP Applications

Fixed-Point Arithmetic: An Introduction

Cascaded Integrator-Comb (CIC) Filter Introduction

Discussion Groups

IIR Filter Design Software

See Also

Embedded SystemsFPGA

Discussion Groups | Matlab DSP | HOW To Import Data from Excel to matlab


Technical discussion about Matlab and issues related to Digital Signal Processing.

  

Post a new Thread



Is this thread worth a thumbs up?

0

HOW To Import Data from Excel to matlab - BALAJI RAMAN - Mar 16 18:25:00 2004

Hello everybody,

This is my first mail to the group.

I need some help on importing data from excel..

I am not that good at matlab..

I have certain data sets in excel and i would like to plot the x and
y values..

Is there some way that i can access excel files through matlab..

These data sets are huge.

Thanks In advance

Balaji







Re: HOW To Import Data from Excel to matlab - Juan I. Arvelo, Jr., Ph.D. - Mar 16 21:14:00 2004

I usually export the Excel spreadsheet as
space-delimited text document and import the created
file into Matlab using the "load" command. Of course,
I'm making it sound easier than it really is.

If the exported text file is more complicated than
just two simple columns, then you may have to read the
data line-by-line.

First you open the file using:

fid = fopen('myfile.txt');

then read the data with the "fscanf" command.

Finally, you close the file:

fclose(fid);

Again, I'm making it easier than it really is. --- BALAJI RAMAN <>
wrote:
> Hello everybody,
>
> This is my first mail to the group.
>
> I need some help on importing data from excel..
>
> I am not that good at matlab..
>
> I have certain data sets in excel and i would like
> to plot the x and
> y values..
>
> Is there some way that i can access excel files
> through matlab..
>
> These data sets are huge.
>
> Thanks In advance
>
> Balaji
=====
Juan I. Arvelo, Jr., Ph.D.
Johns Hopkins University
11100 Johns Hopkins Rd.
Laurel, MD 20723
240.228.4293

__________________________________
">http://mail.yahoo.com







Re: HOW To Import Data from Excel to matlab - Rabia Zeynep Sarica - Mar 17 1:55:00 2004

You may try to use "xlsread" Matlab command as well.
 
Rabia"Juan I. Arvelo, Jr., Ph.D." <j...@yahoo.com> wrote:
I usually export the Excel spreadsheet as
space-delimited text document and import the created
file into Matlab using the "load" command. Of course,
I'm making it sound easier than it really is.

If the exported text file is more complicated than
just two simple columns, then you may have to read the
data line-by-line.

First you open the file using:

fid = fopen('myfile.txt');

then read the data with the "fscanf" command.

Finally, you close the file:

fclose(fid);

Again, I'm making it easier than it really is.--- BALAJI RAMAN <b...@yahoo.co.in>
wrote:
> Hello everybody,
>
> This is my first mail to the group.
>
> I need some help on importing data from excel..
>
> I am not that good at matlab..
>
> I have certain data sets in excel and i would like
> to plot the x and
> y values..
>
> Is there some way that i can access excel files
> through matlab..
>
> These data sets are huge.
>
> Thanks In advance
>
> Balaji
=====
Juan I. Arvelo, Jr., Ph.D.
Johns Hopkins University
11100 Johns Hopkins Rd.
Laurel, MD 20723
240.228.4293

__________________________________
/">http://mail.yahoo.com



_____________________________________
/groups.php3


" target="_blank">Yahoo! Mail - More reliable, more storage, less spam





Re: HOW To Import Data from Excel to matlab - Priyank Saxena - Mar 17 3:53:00 2004

better way is to use functions 'xlsread' and 'xlsfinfo'. refer to matlab help
(help xlsread) for details.

--- "Juan I. Arvelo, Jr., Ph.D." <> wrote:
> I usually export the Excel spreadsheet as
> space-delimited text document and import the created
> file into Matlab using the "load" command. Of course,
> I'm making it sound easier than it really is.
>
> If the exported text file is more complicated than
> just two simple columns, then you may have to read the
> data line-by-line.
>
> First you open the file using:
>
> fid = fopen('myfile.txt');
>
> then read the data with the "fscanf" command.
>
> Finally, you close the file:
>
> fclose(fid);
>
> Again, I'm making it easier than it really is. > --- BALAJI RAMAN <>
> wrote:
> > Hello everybody,
> >
> > This is my first mail to the group.
> >
> > I need some help on importing data from excel..
> >
> > I am not that good at matlab..
> >
> > I have certain data sets in excel and i would like
> > to plot the x and
> > y values..
> >
> > Is there some way that i can access excel files
> > through matlab..
> >
> > These data sets are huge.
> >
> > Thanks In advance
> >
> > Balaji
> >
> >
> >
> >
> >
>
> =====
> Juan I. Arvelo, Jr., Ph.D.
> Johns Hopkins University
> 11100 Johns Hopkins Rd.
> Laurel, MD 20723
> 240.228.4293
>
> __________________________________
> ">http://mail.yahoo.com

__________________________________
">http://mail.yahoo.com