photo

Stephan Koehler


SEAS, Harvard

Active since 2009

Followers: 0   Following: 0

Message

Statistics

All
  • Personal Best Downloads Level 2
  • First Review
  • 5-Star Galaxy Level 3
  • First Submission
  • First Answer

View badges

Feeds

View by

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

7 years ago | 6

Submitted


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

9 years ago | 1 download |

Thumbnail

Submitted


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

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

11 years ago | 1 download |

Thumbnail

Submitted


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

11 years ago | 1 download |

Submitted


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

11 years ago | 3 downloads |

Thumbnail

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.

11 years ago | 1 download |

Thumbnail

Submitted


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

11 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

13 years ago | 1 download |

Submitted


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

13 years ago | 1 download |

Submitted


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

13 years ago | 1 download |

Submitted


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

13 years ago | 1 download |

Submitted


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

13 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

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

13 years ago | 7 downloads |

Submitted


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

15 years ago | 1 download |