1function [x,y,sizey,endslopes] =mychckxy(x,y)2%CHCKXY check and adjust inputforSPLINE and PCHIP3% [X,Y,SIZEY] =CHCKXY(X,Y) checks the data sites X and corresponding data4% values Y, making certain that there are exactlyasmany sitesasvalues,5%that no two data sites are the same,...