MATLAB: How to add error bars to the bar chart

error bars

Hello, I used this code to my result:
clear all close all clc
data = [9, 0, 53];
figure ; bar (data) set(gca, 'XTickLABEL', { 'FOSB CT', 'FOSB NT', 'GLUTR2'}) Ylabel ('data')
I want to add error bar. Also, I tried to change data to proteins levels but the program doesn't work if I change it? any suggestion?

Best Answer

Could you just use the errorbar function instead of bar?