Answers for "switch matlab"

0

switch matlab

x = [12 64 24];
plottype = 'pie3';

switch plottype
    case 'bar' 
        bar(x)
        title('Bar Graph')
    case {'pie','pie3'}
        pie3(x)
        title('Pie Chart')
    otherwise
        warning('Unexpected plot type. No plot created.')
end
Posted by: Guest on February-27-2020
0

switch matlab

hidraulica
Posted by: Guest on July-23-2021
0

switch matlab

hiraulica
Posted by: Guest on July-23-2021

Browse Popular Code Answers by Language