parti

parti - SR(i) = 'C'; elseif R(i) == 4 SR(i) = 'D'; elseif...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
R = [2; 1; 3; 5; 4] for i = 1:5 if R(i) == 1 SR(i) = 'A'; elseif R(i) == 2 SR(i) = 'B'; elseif R(i) == 3
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: SR(i) = 'C'; elseif R(i) == 4 SR(i) = 'D'; elseif R(i) == 5 SR(i) = 'E'; end end disp(SR)...
View Full Document

Ask a homework question - tutors are online