Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

how to read this data into a matrix with "textscan"
Anyone can tell me how to read this data into a matrix with
"textscan".
The data file is:
G00P0.s2p -1.410010e+000 1.546046e+001 2.958509e-011
G01P0.s2p -1.405291e+000 1.543455e+001 3.045325e-011
G02P0.s2p -1.417232e+000 1.557427e+001 2.712963e-011
G03P0.s2p -1.417232e+000 1.557427e+001 2.712963e-011

after reading, the matrix can be:
0.0 -1.410010e+000 1.546046e+001 2.958509e-011
1.0 -1.405291e+000 1.543455e+001 3.045325e-011
2.0 -1.417232e+000 1.557427e+001 2.712963e-011
3.0 -1.417232e+000 1.557427e+001 2.712963e-011

Thanks!

Report this thread to moderator Post Follow-up to this message
Old Post
yzriver
04-28-05 02:01 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Matlab archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 07:29 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.