Matlab code for function
조회 수: 1 (최근 30일)
이전 댓글 표시
I need help wiritng a code so get a string of data of letters to be sorted so that vowels are returned in alphabetical order followed by all the non vowels in the string sorted in alphabetical order
댓글 수: 3
David Hill
2019년 11월 21일
Look at the regexp function or ismember function:
a(regexp(a,'[aeiou]'));
a(ismember(a,['aeiou']));
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!