Calculating mean-squared displacement (msd) with MATLAB

前端 未结 2 1220
一生所求
一生所求 2020-12-18 09:22

This is part of a matlab intro course for biologists. I have my data points (for a single particle!) in a matrix with 4 columns (time, x, y, z) and a few thousand rows. What

2条回答
  •  情歌与酒
    2020-12-18 10:01

    Note that there's a MATLAB class available to do MSD analysis: MSD analyzer, including extensive documentation and tutorials.

    Basic usage:

    ma = msdanalyzer(2, SPACE_UNITS, TIME_UNITS);
    ma = ma.addAll(tracks);
    ma = ma.computeMSD;
    

提交回复
热议问题