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
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1382 Solvers
-
Number of 1s in the Binary Representation of a Number
404 Solvers
-
Count decimal digits of a number
216 Solvers
-
334 Solvers
-
Double all elements in the array
835 Solvers
More from this Author165
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!