Cody

# Problem 45370. Sky full of stars - 03

Solution 2212345

Submitted on 15 Apr 2020 by bainhome
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

### Test Suite

Test Status Code Input and Output
1   Pass
a=[ '************' '***** *****' '**** ****' '*** ***' '** **' '* *' '* *' '** **' '*** ***' '**** ****' '***** *****' '************']; assert(isequal(star_pattern_3(6),a))

2   Pass
a=[ '******' '** **' '* *' '* *' '** **' '******']; assert(isequal(star_pattern_3(3),a))

3   Pass
a=[ '****' '* *' '* *' '****']; assert(isequal(star_pattern_3(2),a))

4   Pass
a=[ '********************' '********* *********' '******** ********' '******* *******' '****** ******' '***** *****' '**** ****' '*** ***' '** **' '* *' '* *' '** **' '*** ***' '**** ****' '***** *****' '****** ******' '******* *******' '******** ********' '********* *********' '********************']; assert(isequal(star_pattern_3(10),a))

### Community Treasure Hunt

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

Start Hunting!