|
From: | Daniel Collins |
Subject: | I have yet to successfully execute an Octave script |
Date: | Sun, 16 Jul 2017 04:04:33 -0400 |
Folks, I am a new user using Octave 4.2.0 in Windows 7. I have yet to successfully execute even 1 script. What is wrong with the following code? filename = "first1.txt"; fid = fopen(filename, "w"); m = [1 2 3;4 5 6;7 8 9]; v = [1;2;3]; x = m*v; fprintf(fid,'x = %.1f\n%.1f\n%.1f\n',x); Thanks for any advice that may be offered. -Daniel J. Collins 571-406-9708 |
[Prev in Thread] | Current Thread | [Next in Thread] |