|Date:||Fri, 15 Aug 2003 18:49:19 +0200|
Can octave treat three dimensional arrays like A(i,j,k)? It seems to
accept this form on the right side an assignment, but not the left.
What is the rule here? Thanks in advance!
octave:29> a = rand(5);
octave:30> b= rand(5);
octave:31> c = a;
octave:32> c(:,:,2) = b;
error: invalid number of indices (3) for indexed assignment
error: assignment failed, or no method for `matrix = matrix'
error: evaluating assignment expression near line 32, column 10
|[Prev in Thread]||Current Thread||[Next in Thread]|