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

Italian
There is some one who speak ITALIAN?
I need to know how can i read from a file with some matrix, every single
elements of these matrix, this is for an examination.
Vorrei sapere come si fa a leggere da un file che contiene delle matrici (in
forma di record fatti da numeri) ogni singolo numero, per poi metterli in
delle classi di frequenza(quanti cen ne sono tra 0 e 20, tra20 e 40, ecc.).
Qualcuno può aiutarmi? Mi serve per un esame!!!



Report this thread to moderator Post Follow-up to this message
Old Post
Pippo
12-19-04 08:57 PM


Re: Italian
In article <4aexd.310238$b5.15057837@news3.tin.it>, nula@email.it
says...

> There is some one who speak ITALIAN?

Me :)

> I need to know how can i read from a file with some matrix, every single
> elements of these matrix, this is for an examination.

I think the past thread

"Reading an array from a text file into fortran"

in this newsgroup could be helpful.

Ciao,
Dan

Report this thread to moderator Post Follow-up to this message
Old Post
Danguard
12-20-04 08:56 AM


Re: Italian
Secondo me dovresti procedere così:
open(1,file='nomefile.dat',status='old')
read (1,*) T(x)   ---> dipende dalla dimensione dei tuoi record.
close (1)
do i=1,x
temp = T(i)
if ((temp.gt.0).and.(temp.lt.20)) then
j=1
freq20(j) = temp
j = j+1
else if ((temp.gt.20).and.(temp.lt.40))
k=1
freq40(k) = temp
k= k+1
.....
.....
endif


una cosa del genere.

--
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
-.-.-.-.-.-
Borgo delle Tradizioni
Visita il sito www.oliodelborgo.altervista.org
"non si vive solo di pane, si vive pure di soddisfazioni"
(nonno giacobbe)
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
-.-.-.-.-.-



Report this thread to moderator Post Follow-up to this message
Old Post
Garcia
12-25-04 01:56 PM


Sponsored Links




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

Fortran 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 08:05 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.