Community Profile

photo

Simon Henin


15 total contributions since 2011

Contact

Simon Henin's Badges

  • Personal Best Downloads Level 4
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 5
  • GitHub Submissions Level 2
  • First Submission
  • Knowledgeable Level 1
  • First Answer
  • Scavenger Finisher
  • Solver

View details...

Contributions in
View by

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

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

2 years ago

Solved


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

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

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

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

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

2 years ago

Submitted


simonhenin/mat2ft
matrix to fieldtrip structure

2 years ago | 1 download |

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 0

Answered
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}) );...

2 years ago | 0

| accepted

Submitted


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

3 years ago | 143 downloads |

Thumbnail

Solved


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

3 years ago

Submitted


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

9 years ago | 18 downloads |

Thumbnail