Cite the error number

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

1 Comment

Rik
Rik on 4 Mar 2019
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.

Answers (1)

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

This question is closed.

Products

Release

R14SP1

Tags

Asked:

on 3 Mar 2019

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!