You will be given Two matrices A and B.
Return 1 if B is the diagonal matrix of A, 0 otherwise
You can't use isequal with double/float as in tests 1, 4 or 5.
Jean-Marie, sorry , i dont see what you're referring to/ i dont use isequal, i compare the difference to a tolerance
*the difference's norm*
peta to nano (x-ray)
Calculate the area of a triangle between three points
Is it a number?
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
Is it column vector?
How many rectangles in a grid ?
length of string on cylinder
rectangle in circle
Recursive Standard Deviation
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