Some Tricks in Matlab

Q1: Find a index of string in a cell matrix that contains strings.

A1:

Q2: cumulative sum

A2: use function cumsum

Usage:

 

分享到:

发表评论