create trend-3 matrix