多语言展示
当前在线:901今日阅读:60今日分享:41

如何使用mathematica求解向量的范数?

向量的范数就是向量的模,使用mathematica可以自动求解向量的范数,下面介绍如何使用mathematica求解向量的范数的详细操作方法。
工具/原料

Mathematica11

方法/步骤
1

定义一个2维向量:在Mathematica的命令行中,输入t1={1,4},然后按Enter+Shift

2

求解2维向量的范数:在Mathematica的命令行中,输入Norm[t1],然后按Enter+Shift

4

求解4维向量的范数:在Mathematica的命令行中,输入Norm[t2],然后按Enter+Shift

5

定义一个6维向量:在Mathematica的命令行中,输入t3={-2,-5,90,789,1,4},然后按Enter+Shift

6

求解6维向量的范数:在Mathematica的命令行中,输入Norm[t3],然后按Enter+Shift

推荐信息