precision issues, a single test case, meaningless "not using built-in functions" limitation, and somewhat taunting "have a pride" exhortation... please do the same and put some more thought into your problem
Updated TSuite now
Humm. the test suite is actually requesting Gaussian elimination, not LU decomposition. You may check it by using [L,U] = lu(x). They are very similar processes, but not exactly the same.
Not a built in function, but still a very cheesy answer! :-)
I see you! hahahaha
Select every other element of a vector
Remove any row in which a NaN appears
Make a random, non-repeating vector.
Matrix which contains the values of an other matrix A at the given locations.
Create an 'arrow-head" matrix
I told you not separate me, but you did :( - ACDC
Create tangent function out of cosine only
Create cosine function out of sine
Beat the test suite if you can :)
Creating a code via test suite :)
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office