﻿功能:余弦积分

格式:CosIntegral(x)
x : 为数值或者矩阵变量,里面的元素值不能小于0

说明:
1. 本函数等价于求如下积分
$$
-\int_x^\infty\dfrac{\cos(t)}{t}dt
$$

2. 当x小于0时返回非数字。

参考:{余弦积分<http://en.wikipedia.org/wiki/Hyperbolic_cosine_integral#Hyperbolic_cosine_integral>}

例子:
x =
[ 0.25000000000000    3.68000000000000 ]
y = CosIntegral(x)//回车得到如下结果
y =
[-0.82466306258094   -0.07727580629227 ]