Based on your location, we recommend that you select:. Select the China site in Chinese or English for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Toggle Main Navigation. Search Answers Clear Filters. Answers Support MathWorks. Search Support Clear Filters. Support Answers MathWorks. Search MathWorks. MathWorks Answers Support. Open Mobile Search. Trial software. You are now following this question You will see updates in your activity feed. You may receive emails, depending on your notification preferences.
How to download file in Online Matlab? Show older comments. Jose Carrasco Ramon on 27 Sep Vote 2. Commented: Abril Rosales on 11 Oct Abhilash Padma on 1 Oct Shoya Matsumoto Retrieved November 25, Learn About Live Editor. Select a Web Site. 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:. Select the China site in Chinese or English for best site performance.
Other MathWorks country sites are not optimized for visits from your location. Toggle Main Navigation. Search MathWorks. Solved Determine if input is odd Given the input n, return true if n is odd or false if n is even.
Solved Project Euler: Problem 1, Multiples of 3 and 5 If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is It is for instructional purposes. Solved Return the first and last character of a string Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi Solved Determine whether a vector is monotonically increasing Return true if the elements of the input vector increase monotonically i.
Return f Note that the solution is rounded down to 5 decima Solved Triangle sequence A sequence of triangles is constructed in the following way: 1 the first triangle is Pythagoras' triangle 2 the s Solved Length of a short side Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt Solved Select every other element of a vector Write a function which returns every other element of the vector passed in.
That is, it returns the all odd-numbered elements, s Solved Fibonacci sequence Calculate the nth Fibonacci number.
0コメント