Community Profile

# Stephan Koehler

### SEAS, Harvard

Active since 2009

All

View badges

#### Content Feed

View by

Answered
Extract numbers from mixed string
Here is a one-line answer str2num( regexprep( Str, {'\D*([\d\.]+\d)[^\d]*', '[^\d\.]*'}, {'\$1 ', ' '} ) )

6 years ago | 6

Submitted

circle_finder
image analysis for finding circles in a BW image, returns radii, locations and line thicknesses

8 years ago | 1 download |

Submitted

dir_crawler.m
crawls through a directory tree and returns sub-directories and files with ability to search by name

9 years ago | 6 downloads |

Submitted

running average and standard deviation of vectors
computes the running average and standard deviation of vectors or matrices for a given window size.

10 years ago | 1 download |

Submitted

TA_txt2MAT
converts text datafile from TA rheometer to a .mat datafile.

10 years ago | 1 download |

Submitted

Error Propagation
Numerically calculates uncertainties of a function using random numbers to simulate function inputs

10 years ago | 2 downloads |

Submitted

binning a point cloud, 3D scattered data, in the X-Y plane
Take a set of XYZ points, and returns average Z values for corresponding bins in X & Y planes.

10 years ago | 1 download |

Submitted

modified cumsum for partial accumulated sums
Determine the accumulated sum of series of non-zero values of vectors, resetting at zero entries

10 years ago | 1 download |

Submitted

fitting sum of two decaying exponentials (over damped oscillator)
five-parameter fit to the equation A*exp(-t/T1) + B*exp( -t/T2 ) + offset

12 years ago | 2 downloads |

Submitted

fitting critically damped simple harmonic oscillator
Four-parameter fit to the equation A*(1 + t/T2).*exp(-t/T1) + offset

12 years ago | 1 download |

Submitted

fitting decaying oscillations
From inputs t, y the best fit to the decaying oscillation is determined.

12 years ago | 1 download |

Submitted

plotting a .xls spreadsheet
Convenience function for plotting spreadsheets specifying several variables and also conditions

12 years ago | 1 download |

Submitted

plotting contents of a csv spreadsheet
convenience function for plotting columns of a spreadsheet

12 years ago | 1 download |

Answered
Average data from multiple tsv files to graph
I wrote a script just for this, which is on MATLAB central file exchange: look for tsvread.m

12 years ago | 0

Submitted

tsvread: importing tab-separated data
Similar to csvread, but has a lot more user-friendly options and can deal with non-numeric data.

12 years ago | 17 downloads |

Submitted

new_dir.m
This is an enhancement to MATLAB's dir function, for dealing with sequentially numbered files.

14 years ago | 1 download |