Matlab

Moderators: None (Apply to moderate this forum)
Number of threads: 1494
Number of posts: 2174

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
loading a column of floats from a file Posted by mahaju on 22 Sept 2012 at 10:55 AM
Hi
I need to load 256 floating point numbers from a file to matlab
Some numbers are very large (upto 12 digits, including the first one) while some are very small (4 digits)
Using the load command matlab loads the data into a variable but stores it as NUM * 1.0e+012
So it stores all the smaller numbers 0
How do I fully load all the numbers into matlab?
Thanks

Thread Tree
mahaju loading a column of floats from a file on 22 Sept 2012 at 10:55 AM



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.