摘要
目前利用Matcom动态链接库进行数值计算时,将自定义函数作为函数输入参数存在诸多问题。针对这一现状,研究了Matcom调用自定义函数的内部机理,重新设计了函数调用的流程,圆满解决了Matcom与VC混合编程中自定义函数作为输入参数的调用问题。算例结果表明,该方法简单高效,能够快速地解决数学计算问题,对于脱离Matlab环境的数值计算问题提供了一种快速高效的解决方案。
For furnishing the simulation program of infrared image with real-time accurate calculated result of atmospheric trans- mittance path radiance and direct solar radiance, detailed analysis to running method and process of Lowtran7 program is rea- lized, then it is prensented that a set of method on how to apply lowtran7 in the simulation program of infrared image based on the concrete calculation demand of atmospheric transmittance path radiance and direct solar radiance. The atmospheric transmit- tance and path radiance, which don't change frequently, are calculated directly by the lowtranT; the direct solar radiance, which changes frequently, is calculated by an interpolation based on the calculated results by the LowtranT. The simulation shows that these method run quickly and calculated accurately. So, the method is able to apply to the simulation program of infrared image.
出处
《计算机工程与设计》
CSCD
北大核心
2013年第9期3119-3123,3129,共6页
Computer Engineering and Design
基金
国家自然科学基金项目(61172083
61203134)