Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle.
<<https://i.imgu...
Sum of Squares
Given a vector v of length n, write a MATLAB function to calculate the sum of the squares of its elements.
3年弱 前
解決済み
Square the input
Given a scalar or vector x, return the square of each element.
Example
x = [7 2]
answer = [49 4]
3年弱 前
解決済み
pressure to dB?
given x ratio of pressure, find corresponding y dB
3年弱 前
解決済み
Kelvin to Fahrenheit
You can find a doc about it in here => https://www.rapidtables.com/convert/temperature/how-kelvin-to-fahrenheit.html
x is kelvi...