Le 13/03/13 18:57, sgoug...@free.fr a écrit :
Hello Stéphane,
De: "Stéphane Mottelet" <stephane.motte...@utc.fr>
Is it possible to declare a uint8 matrix without first declaring it as a
double ? ../..
Yes, you can do:
-->ui = resize_matrix(uint8(0),5,3)
ui =
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
-->typeof(ui)
ans =
uint8
Regards
Samuel
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
Thanks, that's very clever ! Maybe would it be a good idea to extend the
syntax of uint8 (and others) like
ui=uint8(5,3) ?
S.
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users