You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string from the cell array separated by the delimiter.
For example, this input
in_cell = {'Lorem', 'ipsum', 'dolor', 'sit', 'amet', 'consectetur'}; delim = ' ';
should produce this output:
out_str = 'Lorem ipsum dolor sit amet consectetur';
How to find the position of an element in a vector without using the find function
2200 Solvers
13765 Solvers
Program an exclusive OR operation with logical operators
574 Solvers
250 Solvers
199 Solvers
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply Today