Consider a vector A such as
A = [1 2 3 3 4 5 6]
Can you convert this vector to a three-column matrix like this:
M = [1 2 3 2 3 3 3 3 4 3 4 5 4 5 6]
Calculate the area of a triangle between three points
278 Solvers
159 Solvers
342 Solvers
103 Solvers
Replace secondary diagonal elements of a square array
101 Solvers