[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How do I translate Matlab's colon into Octave?
From: |
Dirk Laurie |
Subject: |
How do I translate Matlab's colon into Octave? |
Date: |
Fri, 5 Sep 1997 17:46:38 +0200 (SAT) |
I've got zillions of old Matlab 3.5 routines that rely on one of the
following devices:
1. x(:) returns the contents of x as a column vector
2. y(:)=x assigns the contents of x to y, retaining the
present shape of y
It seems that these tricks do not work in Octave. Are there
alternatives that do not involve massive re-coding?
Dirk Laurie
- How do I translate Matlab's colon into Octave?,
Dirk Laurie <=