Given three positive number, check whether a triangle can be made with these sides length or not. remember that in a triangle sum of two sides should be greater than the third one. So with the lengths of 2,3 and 6 we can not make a triangle
Inner product of two vectors
Multiply a column by a row
Who is the smartest MATLAB programmer?
Replace every 3rd element in a vector with 4
Find the nearest prime number
Find the coefficients for numerical integration using Simpson's rule
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