change a value in a matrix
change a value in a matrix
(OP)
Hi,
I am using MathCAD 14.
I'm having trouble assigning a new value to a specific position in a matrix.
Example:
I'd like to change the value of X[0,1 (first column, 2nd row)
I thought of something like this (which apparently isn't working as expected):
X[0,1 := 5
All help is appreciated.
Regards,
RJ
I am using MathCAD 14.
I'm having trouble assigning a new value to a specific position in a matrix.
Example:
I'd like to change the value of X[0,1 (first column, 2nd row)
I thought of something like this (which apparently isn't working as expected):
X[0,1 := 5
All help is appreciated.
Regards,
RJ





RE: change a value in a matrix
Apparently in a 2d matrix it works just fine (I meant to simplify the problem),
However, the matrix I'm isn't a normal matrix...
I have a couple of matrices inside another matrix... (a 3d matrix of some sorts).
This comes down to:
X[0,1[0,1:=1 (Which isn't working as expected)
RE: change a value in a matrix
TTFN
FAQ731-376: Eng-Tips.com Forum Policies
RE: change a value in a matrix
RE: change a value in a matrix
RE: change a value in a matrix
Thanks!