post:extracttimepoints.m

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
post:extracttimepoints.m [2022/07/18 22:49] – created pseudomoanerpost:extracttimepoints.m [2022/07/18 22:56] (current) – pseudomoaner
Line 3: Line 3:
 **Class:** Function **Class:** Function
  
-**Description:** Switches data from a track-based representation to a slice-based representation (i.e. a set of data values that are all applicable to a specified timepoint and which are all indexed in the same way as the fields of trackableData.)+**Description:** Switches data from a track-based representation to a slice-based representation (i.e. a set of data values that are all applicable to a specified timepoint and which are all indexed in the same way as the fields of [[usage:tracking#outputs|trackableData]].)
  
 **Author:** Oliver J. Meacock **Author:** Oliver J. Meacock
Line 49: Line 49:
 </code> </code>
  
 +**Example usage:**
 +<code matlab>
 +%Create a new field in trackableData indexed like the others that contains the instantaneous velocity data for each object at each timepoint
 +trackableData.vmag = extractTimePoints(fromMappings,toMappings,targetTracks,'vmag');
 +</code>
  • post/extracttimepoints.m.1658180984.txt.gz
  • Last modified: 2022/07/18 22:49
  • by pseudomoaner