期中测试第七题 by 3217010032 杨雨婷 - Saturday, 18 February 2023, 4:54 PM Number of replies: 2 xrand=round(rand(5,10)*36); 使用sum(xrand(:)==12)可以获得xrand中有多少个12。 这道题为什么是错的呢,似乎可以运行得出来呀 Permalink In reply to 3217010032 杨雨婷 回复: 期中测试第七题 by 3217010022 邹恩 - Monday, 20 February 2023, 7:26 PM 我也觉得是对的 Permalink Show parent In reply to 3217010032 杨雨婷 回复: 期中测试第七题 by 3217010030 李好 - Tuesday, 21 February 2023, 10:45 AM sum(find(xrand(:)==12)) Permalink Show parent
In reply to 3217010032 杨雨婷 回复: 期中测试第七题 by 3217010022 邹恩 - Monday, 20 February 2023, 7:26 PM 我也觉得是对的 Permalink Show parent
In reply to 3217010032 杨雨婷 回复: 期中测试第七题 by 3217010030 李好 - Tuesday, 21 February 2023, 10:45 AM sum(find(xrand(:)==12)) Permalink Show parent