Control horizon and prediction horizon

I think this is discussed already here: