Matlab code for function

1 次查看(过去 30 天)
Lauren Kinchla
Lauren Kinchla 2019-11-21
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
David Hill 2019-11-21
Look at the regexp function or ismember function:
a(regexp(a,'[aeiou]'));
a(ismember(a,['aeiou']));
Philippe Lebel
Philippe Lebel 2019-11-21
look at the past question asked by this user...

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by