Hello Héctor
Are you using the latest Scilab 6.0.1 release?
input() was bugged in previous Scilab 6.0.0+/- releases, but it is now
fixed:
--> function ingres()
>
> A=input ('Ingrese la matriz A ');
>
> disp(A);
>
> b=input ('Ingrese el vector independiente b ');
>
> disp(b);
>
>
> endfunction
--> ingres
Ingrese la matriz A [4,3,-2,1;3,2,1,5;-2,3,1,2;-5,0,1,1]
4. 3. -2. 1.
3. 2. 1. 5.
-2. 3. 1. 2.
-5. 0. 1. 1.
Ingrese el vector independiente b [4;-8;-7;-8]
4.
-8.
-7.
-8.
HTH
Samuel
Le 21/03/2018 à 13:18, Hector R. Lepez a écrit :
In SCILAB 6 this code:
function ingres()
A=input ('Ingrese la matriz A ');
disp(A);
b=input ('Ingrese el vector independiente b ');
disp(b);
endfunction
in console, with 6 version of SCILAB Input function faild, i don't
know why?? because in older version works with no problems.
--> ingres
Ingrese la matriz A
[4,3,-2,1;3,2,1,5;-2,3,1,2;-5,0,1,1]
4. 3. -2. 1.
3. 2. 1. 5.
-2. 3. 1. 2.
-5. 0. 1. 1.
Ingrese el vector independiente b
--> [4;-8;-7;-8]
Ingrese el vector independiente b
[4;-8;-7;-8]
-8.
Héctor Lépez Cel: 154137337
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users