MATLAB: How to calculate slope of each row of a matrix

slope

suppose there is a matrix of order(590×133). now, I have to find the slopes of each row in the marix. how can I calculate it?

Best Answer

What is a slope of a row? The slope in each point? Or the average slope over all points?
The gradient command looks promising.
Related Question