在matlab中一个null函数就可以解决,可是用C写的话,一点思路都没有。实在不知道如何下手
http://blog.csdn.net/longhuihu/article/details/9371817