function [x,y,fdy] = transitionSmoothing2(a,b,y1,y2,nn)
%%%
% smoothly shifting the value transition
% defining the shifting value in the interval of [a,b]
% curve starting at [a,y1] and ending at [b,y2]
% and generating a smooth array [x,y] for further
interpolation
% author: TCH, BUAA-AST, Feb 06, 2012
%%%% INPUT:
% [a,b] :
% transition
interval
% y1,y2 :
% starting point y1 and
ending point y2
% nn :
% determining the
sampling point between the interval of [a,b]
%%%% OUTPUT
% x,y :
% out put transition
coordinates
% fdy :
% function pointer
depicting the exact derivative function
%%%% example script:
% % clc
% % clear
% %
% % %
% % a = -1;
% % b = 1;
<