Find the sum
S = ∑x^n/n!
with a given accuracy eps. Sum until abs(currentS/S) < eps .
eps - accuracy, currentS - element of row at the current iteration.
The image link is broken. Without it, I have no idea what the problem is asking for or testing.
Sofiya Onyshkevych: it is recommended that at least four test cases be provided in each Test Suite, although more are often necessary to prevent hard-coded workarounds.
David Verrelli: thank you for your remark. fixed it.
goc3: thank you. fixed it.
Compute a dot product of two vectors x and y
Put Two 1D matrices into one 1D matrix
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
Find the position of first minimum value in an integer array with numbers
Find product of eigenvalues of n*n magic matrix.
Calculate the centroid of a triangle
Return ! if array element starts with a certain letter. Otherwise return ?
Solve the system of equations.
Calculate the eigenvalues of A.
Return the amount of palindromes (words) in the string.
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