Find out magnitude of vector
Find out magnitude of vector.
Say x=[1 2 3], then answer must sqrt(1^2+2^2+3^2)
Please don't use sum function.
If you l...
3年弱 前
解決済み
Kelvin to Celsius
Degrees Celsius = degrees Kelvin - 273.15.
Given a temperature in Kelvin, return the equivalent temperature in Celsius.
What number has this problem?
This problem is added because it is problem number *???* in the "Community" problems section.
<http://www.mathworks.de/matlab...
Swap two numbers
Example
Input:
a = 10
b = 20
Output
a = 20
b = 10
3年弱 前
解決済み
Negative matrix
Change the sign of all elements in given matrix.
3年弱 前
解決済み
Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return true if the triangle with sides a, b and c is right-...