help-octave
[Top][All Lists]
Advanced

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

cell2mat


From: Bertrand Roessli
Subject: cell2mat
Date: Mon, 30 Jul 2007 15:50:32 +0200

Hello,

cell2mat works in Matlab but not in 
Octave for this example :
(I have octave 2.57 and downloaded cell2mat from sourceforge)

S.pos={};
v1=[1;2;3];
v2=[10;20;30];
S.pos={v1,v2};

cell2mat(S.pos) in octave yields 

*** cat:

 -- Built-in Function:  cat (DIM, ARRAY1, ARRAY2, ..., ARRAYN)
     Return the concatenation of N-d array objects, ARRAY1, ARRAY2,
     ..., ARRAYN along dimension DIM.

Is there a difference between Matlab and Octave in the usage of
cell2mat? 

Thank you,

Bertrand Roessli




-- 
Dr. Bertrand Roessli
Laboratory for Neutron Scattering
Paul Scherrer Institut and ETH Zurich
CH-5232 Villigen PSI

Tel.: +41 56 310 44 01



reply via email to

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