Community Profile

# Sébastien Martin

### NCTU

8 2015 年以降の合計貢献数

#### Sébastien Martin's バッジ

Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

1年以上 前

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

1年以上 前

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

4年以上 前

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

4年以上 前

'Fill' function with coloured lines instead of filling area
I'm trying to superpose two different things that I can easily draw with the 'fill' or 'patch' functions. Though when I superpo...

### 2

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

Pointers in Matlab and vector of pointers