Community Profile

photo

Simon Henin


14 total contributions since 2011

Contact

Simon Henin's Badges

  • Knowledgeable Level 1
  • First Answer
  • Scavenger Finisher
  • Solver

View details...

Contributions in
View by

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

7 months ago

Solved


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

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

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

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

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

7 months ago

Submitted


simonhenin/mat2ft
matrix to fieldtrip structure

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

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

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

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

12 months ago | 0

| accepted

Submitted


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

2 years ago | 423 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...

2 years ago

Submitted


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

7 years ago | 18 downloads |

Thumbnail