Is It a Palindrome?
Given a string or array, determine if it is a palindrome.
5年以上 前
解決済み
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...
Matlab Basics II - Max & Index of Max
Write a function that takes a vector x, then returns both the max value in x and its location in the vector
for example
x ...
5年以上 前
解決済み
find radius of cone
if Slant height of Cone(I)& hight of Cone(H) given then find radius of the Cone(R)
for example I=5,h=4 then the ans R=3;
5年以上 前
解決済み
Find the last digit
FInd the last digit of a given number. Given number is the input and output should be the last digit of that number.