vowel = [a e i o u];starts = vowel==1;function [string] = vowel(input)if starts == 1 print 'this word starts with a vowel'end
MATLAB: How to make a function that decides whether a word starts with a vowel
vowel
vowel
vowel = [a e i o u];starts = vowel==1;function [string] = vowel(input)if starts == 1 print 'this word starts with a vowel'end
Best Answer