how to find slope for each grid of a three dimensional matrix?

1 view (last 30 days)
Sir I have a matrix of dimension 40*40*13 having spatial size 40*40 with 1 degree*1 degree resolution and 13 is the years from 2000 to 2012. Now I have to find out a trend line for each grid, Say y=mx+c, where m is the slope which i have to use so that i get a file having only slope of dimension 40*40. Please help me how to do it?

Answers (0)

Categories

Find more on Creating and Concatenating Matrices in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!