Without knowing what your data are, this will plot the peak and valley values as a functions of the indices:
figure
plot(indexminima1, -Minima)
hold on
plot(indexmaxima1, Maxima)
hold off
grid
Those should produce plots with straight lines connecting the maxima and another connecting the minima.
If you want to estimate the parameters of a function fitted to those points, there are several options, depending on your data and the functions you want to fit to them.
