MATLAB: How to make multiple strings arrays of repeating word and number string array I need to make an array that is like this: ["var1","var2","var3",…,"var18"] the size of the array may change (larger or smaller than 18). How can I do that sytematically (not repeating or wiritng each individual array member)? Best Answer n = 18;"var" + (1:n) Related SolutionsMATLAB: How can i make an array of letters? is it possible a = 'a':'z'; MATLAB: Strings Did you mean??clear; clc; word = lower(input('Enter a word : ','s')); letter = input('Guess a character : ','s'); stat = findstr(word,letter); if ~isempty(stat) for x = 1 : length(stat) fprintf('Character %c macthes with word %s in column %d\n',letter,word,stat(x)); end else fprintf('Character %c no found in word %s\n',letter,word); end Related QuestionHow to create string array using inpuStringsHow to separate the arrays when making a tableStringsWord frequency
Best Answer