I am trying to get the output of a function for a given set of points
I have x defined as a 1 column, 6 row matrix with 6 values.
I have the function g(x) defined as (1-x)/(x^3 -1)
How do I get a matrix that is like x but contains the values of g(x) for each element value in x?
I have x defined as a 1 column, 6 row matrix with 6 values.
I have the function g(x) defined as (1-x)/(x^3 -1)
How do I get a matrix that is like x but contains the values of g(x) for each element value in x?
-
Rename the matrix to x1, then type g(x1) and then click on the "vectorize" button on the Matrix toolbar and then press the "=" key on your keyboard.