Community Profile # Sébastien Martin

### NCTU

8 total contributions since 2015

View details...

Contributions in
View by

Solved

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]

mer än 2 år ago

Solved

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

mer än 2 år ago

Solved

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

ungefär 5 år ago

Solved

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

ungefär 5 år ago

Question

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

mer än 5 år ago | 2 answers | 0

### 2

Solved

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

mer än 5 år ago

Pointers in Matlab and vector of pointers

nästan 6 år ago | 0

| accepted

Submitted

Plot with linestyles and markers
Plot lines with different line styles, line colors, and markers 