Cite the error number

courses are stored in a matrix M. It is required from you

1 个评论

It looks like you edit away most of your question (or Andrei took a wild guess). If that is the case, please undo your edit.
If this is your original question, please give more details instead of flagging your own question as being unclear.

回答(1 个)

Andrei Bobrov
Andrei Bobrov 2019-3-3
编辑:Andrei Bobrov 2019-3-3
M = randi([1,200],15,8);
S = flip(string(['A':'D','F']'),1)
[~,~,a] = histcounts(M,[-inf,60:10:90,inf]);
out = S(a);

此问题已关闭。

产品

版本

R14SP1

标签

提问:

2019-3-3

关闭:

2021-8-20

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by