[scilab-Users] Possible Bug in resize_matrix.
Samuel Gougeon
Samuel.Gougeon at univ-lemans.fr
Thu Jun 17 02:39:05 CEST 2010
Hello,
bhargav vaidya <coolastro at gmail.com> a écrit :
> Hello everyone...
>
> I am trying to resize my matrix which has number of rows as 400 and
> no of column is 1.
> to a new matrix which should be 20 X 20. So I decided to use the
> "resize_matrix" function with Scilab... but it seems there is
> problem in it.
If the total number of components must be conserved and
that you want just to reshape the matrix, matrix() is the
convenient function to be used.
resize_matrix() crops it. matrix() reshapes it.
Regards
Samuel
More information about the users
mailing list