Vector Magnitude Calculator
'a' is a vector that starts at the origin and ends at (x, y). Find ||a||.
Hint: It is as simple as "ABC".
11日 前
解決済み
Enlarge array
Given an m-by-n numeric array (A) and a 1-by-2 vector (sz) indicating the dimensions [p q] to enlarge each element, return an (m...
11日 前
解決済み
Unit conversion
Convert x degree Celsius to y degree Fahrenheit.
11日 前
解決済み
Change string to number
Change given string to number. (hint: there is already function)
Changing from ['1234'] to [1234] is one of example
11日 前
解決済み
metre to feet converter
The idea is to make a converter, which exchange meters to feets.
We use a factor of 1m = 3.281*1f.
so 3m are equals to 9.843 m...
11日 前
解決済み
Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.
11日 前
解決済み
Add a vector to a matrix
Given a matrix |mat| of size |mXn| and a row vector |v| of size |1Xs|, return a matrix with |m+1| rows that conatains |mat| over...