# Simon Henin

Last seen: 4 years ago Active since 2011

Followers: 0   Following: 0

All

#### Feeds

View by

Submitted

simonhenin/columnlegend
Creates a legend with a specified number of columns

4 years ago | 11 downloads |

How to delete files ending with odd number?
You could looop through all the files and delete ones that have an odd number using regexp, regular expression search files...

6 years ago | 1

| accepted

Solved

Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

6 years ago

Solved

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

6 years ago

Solved

Summing Digits within Text
Given a string with text and digits, add all the numbers together. Examples: Input str = '4 and 20 blackbirds baked in a...

6 years ago

Solved

Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

6 years ago

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

6 years ago

Solved

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

6 years ago

Submitted

simonhenin/mat2ft
matrix to fieldtrip structure

7 years ago | 1 download |

read numbers from mixed string
You need to print the variable A (not "line") to the newdata1 file. Also a quick modification will allow it to work on all the v...

7 years ago | 0

Hello, I want to plot two variables (with different number of phases)...
To plot your data against one another you could use plotyy % make up some data volume = [1:13]'+wgn(13,1, 10); % add som...

7 years ago | 0

I would like to write an else if statement from data imported from an excel file
You have a couple options. If you just want to find the row for Mary, you can use option 1. If you specifically want an if/else ...

7 years ago | 0

How to enter data in the system command?
Use sprintf to create dynamic text, for example: for i=3:5 system( sprintf('mseed2sac-2.1-win32 >> %s<>', files{i}) );...

7 years ago | 0

| accepted

Solved

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

8 years ago

Submitted

popout
creates a popout plot (e.g. zoom-in outset plot) from a specified figure.

13 years ago | 1 download |