Last active
August 29, 2015 14:15
-
-
Save atamazian/bab83a0f4237b30b86cb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function Wq = kingman(ti, ts) | |
| rho = mean(ts)/mean(ti); | |
| cva = stdev(ti)/mean(ti); | |
| cvs = stdev(ts)/mean(ts); | |
| Wq = (rho/(1 - rho))*((cva^2 + cvs^2)/2)*mean(ti); | |
| endfunction |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment