[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help: newbie trying to svd
From: |
Philip Rennert |
Subject: |
Help: newbie trying to svd |
Date: |
Wed, 23 Aug 2000 16:09:53 -0400 |
I'm a total octave newbie. I want to svd a large matrix, and I don't
want to type it all in.
The doc says I can write a script file which will be treated like a
sequence of typed commands, but I haven't gotten this to work: any
examples?
I did get it to read a file by wrapping a no-argument function around my
commands (yes, a kludge), and it did svd a 3x3 matrix, but when I try
the big one, it says:
sh: less: command not found. Huh?
I tried:
[u,s,v]=svd(
[1,3,2
2,9,4
4,7,4])
and got an answer, but not for a big matrix, and also not when I tried
A=[1,3,2
2,9,4
4,7,4])
[u,s,v]=svd(A)
so it's like it's not reading variables
How do you write your script files, and is this how it throws up for a
too-large matrix?
Please respond also by email to address@hidden TIA.
-----------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.che.wisc.edu/octave/octave.html
How to fund new projects: http://www.che.wisc.edu/octave/funding.html
Subscription information: http://www.che.wisc.edu/octave/archive.html
-----------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Help: newbie trying to svd,
Philip Rennert <=