Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Problem 2364. Convert a vector into numbers

Created by Rishad Arfin

Suppose a vector x = [ 1 2 4 7] is given. You have to convert this vector into string number y = '1247'.

Examples

 x = [ 1 3 5 6 ] 
 y = '1356'
 x = [ 2 5 7 23] 
 y = '25723'

Tags

Problem Group

Solution Statistics

32 correct solutions 13 incorrect solutions
Last solution submitted on Nov 29, 2014

Problem Comments