해결됨


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

9달 전

해결됨


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

9달 전

해결됨


Return area of square
Side of square=input=a Area=output=b

9달 전

해결됨


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

9달 전

해결됨


Is my wife right?
Regardless of input, output the string 'yes'.

9달 전

질문


how do I generate a spiral matrix which starts from first element
there is a command which takes only one arguement as a dimension of a square spiral matrix.But I need a way to generate such a m...

9달 전 | 답변 수: 1 | 0

1

답변

해결됨


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

9달 전

해결됨


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...

9달 전

해결됨


Area of a circle
Find the value for area of the circle if diameter is given

9달 전

해결됨


Add two numbers
Given a and b, return the sum a+b in c.

9달 전

해결됨


Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...

9달 전

해결됨


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

9달 전