I'm facing a problem related to matrix element used in a program . I'm attaching a math Cad prime 3.1 file .
Solved! Go to Solution.
You are using 'x' to index into the column of your matrix 'N.B'. column indezes can only be integer values. You step x from 0.5 to 1 in steps of 0.001. That is not going to work...
Use different variables for the stepping value, and the index of the matrix.
Looking once more at your program i doubt if it works at all: I don't know if the assignment to f(x) works in a program...
But first try to separate the index 'x' from the stepping 'x'. To do that, change the first assignment to x into:
so use a capital X instead of the lower case.
Also change the column indexes to N.B that use the lowercase 'x', to use the uppercase 'X' instead.
Now you shouldn't get the red to the index 'x' of N.B anymore.
Your program does not make sense at all, and it confuses me when I'm trying to understand what kind of result you want.
Does this come any near?