from
Quran Comparison & Search-requires Matlab
by Aman Siddiqi
Compares 10 translation of the quran with search
|
| array=cellmatrix2str(number,x)
|
function array=cellmatrix2str(number,x)
% cellmatrix2str(number) Converts a cellmatrix of words into one character string
% cellmatrix2str({'test' ' me'}) yields 'test me'
% cellmatrix2str(number,1) Yields same, but result is still a cell
array=number{1}; numberlength=length(number);
for character=2:numberlength;
array=strcat(array,number{character});
end;
if nargin==2;
array={array};
end;
|
|
Contact us at files@mathworks.com