Alternate elements! - MATLAB Cody - MATLAB Central

Problem 45260. Alternate elements!

Difficulty:Rate

Write a function that combines two lists by alternating the elements, e.g. ['a','b','c'], ['1','2','3'] → 'a1b2c3'.

Solution Stats

78.08% Correct | 21.92% Incorrect
Last Solution submitted on May 05, 2025

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers48

Suggested Problems

More from this Author11

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!