The right transformation can reveal features of the data that are not observable in the original domain. In this recipe, you will see this principle at work.
In this recipe, you will use a data series with time variant rate of growth. It is common practice to use log transformations to effectively visualize the periods of growth in such cases. The original function generates a series of over 50 cycles following the given equation, where the growth efficiency E is a function of time (execute source code lines 11 – 15).
y1 = r * (1+E).^x;
Perform the following steps:
y2 = log(y1); axes('position',[0.1300 0.1100 0.7750 ...