help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to read a matrix from a file?


From: Olaf Till
Subject: Re: How to read a matrix from a file?
Date: Tue, 10 Oct 2006 15:25:25 +0200
User-agent: Mutt/1.5.9i

On Tue, Oct 10, 2006 at 05:41:48PM +0530, Masatran, R. Deepak wrote:
> I have a file which contains a matrix in the format:
> 
>     1   2
>     3   4
> 
> How can I read this file without using low-level functions like "fscanf"?
> -- 
> http://research.iiit.ac.in/~masatran/



> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave

matrix = load ("filename");

see also dlmread

Olaf


reply via email to

[Prev in Thread] Current Thread [Next in Thread]