Path: news.mathworks.com!newsfeed-00.mathworks.com!nntp.TheWorld.com!news.mathforum.org!not-for-mail
From: G0Y <gbencedi@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: reading complex marix from file
Date: Fri, 14 Nov 2008 13:42:46 EST
Organization: The Math Forum
Lines: 8
Message-ID: <22127978.1226688196873.JavaMail.jakarta@nitrogen.mathforum.org>
References: <gfk5ne$hti$1@fred.mathworks.com>
NNTP-Posting-Host: nitrogen.mathforum.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: support1.mathforum.org 1226688196 5044 144.118.30.135 (14 Nov 2008 18:43:16 GMT)
X-Complaints-To: news@news.mathforum.org
NNTP-Posting-Date: Fri, 14 Nov 2008 18:43:16 +0000 (UTC)
Xref: news.mathworks.com comp.soft-sys.matlab:500879


Not really.

Let us clarify: I have a .txt file containing complex numbers in one column. I want to read it into a matrix. Anyway as I see there is no chance to fulfill this method :((

>> %here I open the .txt file to read
>> fin = fopen('vec.txt', 'r'); 
>> %then I would like to store these COMPLEX numbers in a >> %matrix
>> A=fscanf(fin, 'format' , [size]);