Problem 45370. Sky full of stars - 03
Solution Stats
Problem Comments
-
2 Comments
Alireza yarmohammadi
on 8 Jul 2021
Hi Asif tell my why this code wont work??
B=char(tril(ones(5),0)*42)
y=[flipud(B) B';B fliplr(B)]
Dyuman Joshi
on 8 Jul 2021
Compare unique elements in your solution with the ones in test suite
Problem Recent Solvers22
Suggested Problems
-
Return the largest number that is adjacent to a zero
4467 Solvers
-
Increment a number, given its digits
598 Solvers
-
Back to basics 21 - Matrix replicating
1203 Solvers
-
Sum of first n terms of a harmonic progression
342 Solvers
-
87 Solvers
More from this Author156
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!