2025年js类似matlab_JavaScript与MATLAB的计算性能差异对比研究

js类似matlab_JavaScript与MATLAB的计算性能差异对比研究龙源期刊网 http www qikan com cn JavaScript 与 MATLAB 的计算性能差异对 比研究 作者 庞聪 杜瑞林 王磊 贺克锋 龙坤 罗棋 来源 计算机时代 2016 年第 10 期 摘

大家好,我是讯享网,很高兴认识大家。

龙源期刊网

http://www.qikan.com.cn

JavaScript

与

MATLAB

的计算性能差异对

比研究

作者:庞聪

杜瑞林

王磊

贺克锋

龙坤

罗棋

来源:《计算机时代》

2016

年第

10

期

摘

要:

由于

JavaScript

具有跨平台性和免安装、轻量级等优点,已经实现线性代数、无约

束优化、信号处理等数学计算,其在未来的

“

瘦客户端

”

领域会有很大的应用空间。分析了

JavaScript

和

MATLAB

的数值数据类型特点,对比测试了两种语言在不同迭代次数情况下、不

同计算机上执行的计算结果差异,并根据测试得出结论:

JavaScript

比

MATLAB

的迭代计算结

果更加精确,运行速度也更快;

MATLAB

的计算结果几乎不受计算机配置影响,而

JavaScript

的运行情况容易受计算机配置影响,这是因为浏览器的运行受到了计算机内存等的影响。

关键词:

JavaScript

;

MATLAB

;

处理时间;

数据精度;

迭代;

计算机

中图分类号:

TP393

;

TP311

文献标志码:

A

文章编号:

1006-8228

(

2016

)

10-05-03

Comparative study of computational performance between JavaScript and MATLAB

Pang Cong1

,

Du Ruilin1

,


讯享网

Wang Lei1

,

He Kefeng1

,

Long Kun2

,

Luo Qi1

(

1. Institute of Seismology

,

CEA

,

Wuhan

,

Hubei 

,

China

;

2. Wuhan

University

,

School of economics and management

)

Abstract

:

Because JavaScript has the advantages of cross-platform

,

installation-free and

lightweight

,

the mathematical computation such as linear algebra

,

unconstrained optimization

,

signal processing etc. has been realized by it

,

and it will have a lot of application space in the future

of "thin client" field. The characteristics of JavaScript and MATLAB numeric data types are analyzed

in this paper. Comparison test of the two different languages is made by the computational results

performed in different times of iteration

,

and on different computers. The test results show that

JavaScript iterative calculation results are more accurate than MATLAB

,

and the running speed is

also faster

;

The result of MATLAB is almost not affected by the configuration of the computer

,

but the operation of JavaScript is easy to be affected by the configuration of the computer

,

because

the browser's operation is affected by the computer memory etc.

Key words

:

JavaScript

;

MATLAB

;

processing time

;

data precision

;

iteration

;

computer

0

引言

小讯
上一篇 2025-02-16 23:45
下一篇 2025-02-14 11:34

相关推荐

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/82883.html