一分钟了解“matlab的switch-case语句”
x = [12, 64, 24];plottype = 'pie';switch plottype case 'bar' bar(x) title('Bar Graph') case {'pie','pie3'} pie3(x) title('Pie Chart') le