help-octave
[Top][All Lists]
Advanced

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

Re: eliminte "ans" and print file as is on the screen


From: mmuetzel
Subject: Re: eliminte "ans" and print file as is on the screen
Date: Thu, 10 Jan 2019 06:08:46 -0600 (CST)

Is this what you want to do?
CHIS = rand(2,6,3)/1e3;
fid = fopen ('CHIS1.txt', 'w');
fprintf (fid, '%.4e %.4e %.4e %.4e %.4e %.4e\n', squeeze (CHIS(1,:,:)));
fclose (fid);

Markus



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html



reply via email to

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