I am looking for heat plot like this in matlab I have done this excel and not finding any input in Matlab ..Any code or keyword will be helpful ......Thank you in advance....Just to add on I am using 2016 b using following code I am getting following error;_
cdata = [45 60 32; 43 54 76; 32 94 68; 23 95 58];
xvalues = {'Small','Medium','Large'};
yvalues = {'Green','Red','Blue','Gray'};
h = heatmap(xvalues,yvalues,cdata);
any other alternative will be highly helpful ...Thank you in advance

 Accepted Answer

KSSV
KSSV on 19 Jan 2022

0 votes

5 Comments

Thank you KSSV ...I am using 2016 b there ther i am getting error while using this varible ..any other method will be highly useful. Thank you in advance
KSSV
KSSV on 20 Jan 2022
Okay...the function is introduced in 2017a.
Prasad Joshi
Prasad Joshi on 20 Jan 2022
Edited: Prasad Joshi on 20 Jan 2022
Any other alternative sir.....How can i proceed.......Thank you in advance
KSSV
KSSV on 20 Jan 2022
Follow the fileexchange....
Prasad Joshi
Prasad Joshi on 20 Jan 2022
Edited: Prasad Joshi on 20 Jan 2022
Thank you siva sir

Sign in to comment.

More Answers (0)

Categories

Asked:

on 19 Jan 2022

Edited:

on 20 Jan 2022

Community Treasure Hunt

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

Start Hunting!