解決済み


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

5年以上 前

解決済み


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

5年以上 前

解決済み


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

5年以上 前

解決済み


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

5年以上 前

解決済み


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

5年以上 前

解決済み


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

5年以上 前

解決済み


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

5年以上 前

質問


remove specific array in struct
Hey guys, I'm stuck with one simple issue. I am practicing on 'struct' now. As practice, I created a stuct 'account' with fie...

6年弱 前 | 1 件の回答 | 0

1

回答

質問


Unwanted "ans" in my output
Hi all, I know a lot of people already asked this, but still i cannot have the correct output. In my function, funct...

約6年 前 | 2 件の回答 | 0

2

回答