Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function plotSeriesTrend(mu, sigma, y, coeffs)
- derp(1) = polyval(coeffs, 1);
- derp(2) = polyval(coeffs, length(y));
- plot(1:1:length(y), y, ':b');
- hold on;
- plot([1,length(y)], derp, ':c');
- hold on;
- pootis = sprintf('Simulated time series: n = %d, mu = %f, sigma = %f', length(y), mu, sigma);
- title(pootis);
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement