sum函数的应用 by 3217010008 刘星宇 - Monday, 20 February 2023, 11:54 PM Number of replies: 1 “xrand=round(rand(5,10)*36); 使用sum(xrand(:)==12)可以获得xrand中有多少个12。”为什么错误? Permalink In reply to 3217010008 刘星宇 回复: sum函数的应用 by 3217010030 李好 - Tuesday, 21 February 2023, 10:44 AM sum(find(xrand(:)==12)) Permalink Show parent
In reply to 3217010008 刘星宇 回复: sum函数的应用 by 3217010030 李好 - Tuesday, 21 February 2023, 10:44 AM sum(find(xrand(:)==12)) Permalink Show parent