For Programmers: Free Programming Magazines  


Home > Archive > Matlab > June 2007 > how to read a matrix









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author how to read a matrix
thibault

2007-06-25, 4:27 am

hi
i just try to read all elements of a matrix but whithout a while or a
for to limit the time of calcul.
is anyone can told me a solution?
thanks for reply
Walter Roberson

2007-06-29, 7:14 pm

In article <ef5b90c.-1@webcrossing.raydaftYaTP>,
thibault <thibaultdarexy@hotmail.com> wrote:
>i just try to read all elements of a matrix but whithout a while or a
>for to limit the time of calcul.
>is anyone can told me a solution?


You don't tell us whether the matrix is binary or ascii format,
and you don't tell us whether there is any regularity to the
format, and you don't tell us whether there are any special
conditions such as lines to be ignored or if certain markers
on the line tell you that there are missing values that should
be filled in (with NaN? with 0?)

So the answer is "No, no-one can tell you a solution." But
if you are more specific, then -sometimes- there are possibilities
such as textscan() that we could refer you to.
--
Is there any thing whereof it may be said, See, this is new? It hath
been already of old time, which was before us. -- Ecclesiastes
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com