I have a positive natural number vector which I am plotting in Matlab using the typical plot() function. Here is a sample plot:
However, I need to see the vector (y axis) displayed in binary. Is there a way to change the axis display in binary (radix-2) ? I tried using dec2bin, but it only converts the integers to strings which can not be plotted.