求一个函数的最大范数的Matlab文件是什么?

chenglin2008 1年前 已收到1个回答 举报

cara905 花朵

共回答了21个问题采纳率:95.2% 举报

x = [0 1 2 3]
x =
0 1 2 3
sqrt(0+1+4+9) % Euclidean length
ans =
3.7417
norm(x)
ans =
3.741
最大范数是norm(x,inf)

1年前

4
可能相似的问题
Copyright © 2024 YULUCN.COM - 雨露学习互助 - 16 q. 0.024 s. - webmaster@yulucn.com