%% Process and Return Input Arrays
% Process an arbitrary number of input arrays of different types, converting only the string arrays to character arrays.
% Create a set of numeric, character, and string arrays.

A = [1 2 3]
str = ["Mercury","Gemini","Apollo"]
B = [2 5; 7 6]
C = {'volts','amps'}

%
% Convert the string array and return the other arrays unaltered.

[newA,newStr,newB,newC] = convertStringsToChars(A,str,B,C)

% Copyright 2012 The MathWorks, Inc.