la part de Stéphane Mottelet
Envoyé : lundi 8 juin 2020 11:49
À : users@lists.scilab.org
Objet : Re: [Scilab-users] {EXT} Help for . operator
Hello,
The problem is the actual tolerance of Scilab which allows to omit the dot fot
the power operator:
--> [1 2 3]^2
ans =
1. 4. 9.
al
Hello,
The problem is the actual tolerance of Scilab which allows to omit the
dot fot the power operator:
--> [1 2 3]^2
ans =
1. 4. 9.
although Matlab does not allow it:
>> [1 2 3]^2
Error using ^
Incorrect dimensions for raising a matrix to a power. Check that the
matrix is
Hello Pierre,
> De : Perrichon
> Envoyé : lundi 8 juin 2020 11:07
>
> I don't understand le role of the « point » operator '.'
The dot is used to have an element-wise operation.
The difference is when you work with matrices, e.g. the product * will make a
matrix product
C = A*B -> C(i, j) =