i have been asked to create a script file which computes the l and u matrices of a matrix A in matlab.
i have to do this without using the inbuilt lu function.

any idea how i can do this?