Help with "Kolgomorov Complexity"

I was tasked with the following and can't really solve it:
1) Design a code that can generate the string: 'abcabcabcabcabcabcabcabcabcabcabcabcd'. --> I know there is a repmat function but how can I use it for char strings? Also, would a for loop help in this case, especially with the additional "letter d" at the end?
2) Design a second code that is even shorter than the first code.

답변 (1개)

카테고리

도움말 센터File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품

질문:

2015년 11월 25일

답변:

2015년 11월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by