It can convert a matrix to an array as shown below. arrays matlab cell-array ... (delta*2) finite_diff = (func (x+delta)-func (x-delta))/delta*2.
確定! 回上一頁