fbpx

Matlab Mupad code for Yin Yang Volatility?

(Last Updated On: April 21, 2015)

Matlab Mupad code for Yin Yang Volatility?

An example shot from

Click to access %E6%BD%98%E5%92%8C%E5%B9%B3-%E9%98%B4%E9%98%B3%E6%B3%A2%E5%8A%A8%E7%8E%87%E7%90%86%E8%AE%BA-%E9%87%91%E8%9E%8D%E5%B8%82%E5%9C%BA%E9%A3%8E%E9%99%A9%E7%9A%84%E5%86%85%E6%A0%B8%E7%BB%93%E6%9E%84%E5%85%A8%E6%96%87.pdf

For equation 33: I tried to use the following potential partial Mupad code:

Use 217335851-Mupad-User-Manual.pdf

 

Sum example could be: sum(exp(x)^(-x), x = 0..infinity)

 

xbar=stats:mean(x) p8

L := [1, 1, 1, 1, 1, 100.0]:

meanL = stats::mean(L);

nops(x)  is  number of operands

Attempt for Yin Yang volatility in Mupad:

xbar = stats::mean(x)

xSumTerm := x -> _plus(x – xbar $ i=1..(nops(x)-1));  <- did not like _plus

 

xSumTerm := x -> (x – xbar $ i=1..(nops(x)-1));

 

This may work:

xbar = stats::mean(x)

xfun:=x->x-xbar

sum(xfun, i=0..10)

sum(xfun^2, i=0..(m-1))

Join my FREE newsletter to see if this code makes sense

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!
Don't miss out!
Get my TRADE LIKE A BOSS 2 PDF Books

You will received instantly the download links.

Invalid email address
Give it a try. You can unsubscribe at any time.

NOTE!

Check NEW site on stock forex and ETF analysis and automation

Scroll to Top