Matlab plot two functions with different ranges