how to add trend line and output max and min of trend line

2 次查看(过去 30 天)
Hi all,
I wrote this function:
function [On_Balance_Volume] = OBV(SXXPIndex,PX_VOLUME)
%%OBV Script
On_Balance_Volume = onbalvol(SXXPIndex,PX_VOLUME);
plot(On_Balance_Volume)
title('On-Balance Volume for S&P')
i would like to add to this function trend line and output the minimum and maximum of the function. can someone advise?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by