How to code bias correction in MATLAB? I have to bias correct a NASA nex GCM data with observational data for precipitation & min, max temperature . I have to do this with quantile mapping in MATLAB.. Please advice coding methods or sample codes.. I am a novice in matlab