[Scilab-users] Matrix of characters conversion
Samuel Gougeon
sgougeon at free.fr
Mon Oct 21 22:51:22 CEST 2013
Le 21/10/2013 16:13, Carrico, Paul a écrit :
>
> It works well with one line, but I do not figure out how to use it
> with a matrix without using a loop ?????
>
-->M
M =
!300006 12799 24678 17504 21558 212801 24680
17508 21560 !
!300006 12799 24678 17504 21558 212801 24680
17508 21560 !
-->mputl(M,"mat.txt");
-->fscanfMat("mat.txt")
ans =
300006. 12799. 24678. 17504. 21558. 212801.
24680. 17508. 21560.
300006. 12799. 24678. 17504. 21558. 212801.
24680. 17508. 21560.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20131021/6c95558a/attachment.htm>
More information about the users
mailing list