Matlab学生成绩条状图
clc;
clear all;
close all;
A = 0;
B = 0;
C = 0;
D = 0;
E = 0;
num = 39;
all_scorce = round(100*rand(1,num));
for i = 1:num
scorce = all_scorce(1,i);
switch 0 <= scorce && scorce <= 100
case scorce >= 60 && scorce < 70
D = D + 1;
原创
2021-12-15 18:37:27 ·
1240 阅读 ·
0 评论