Magic square ( please help )

Hello I need to write a code for magic square with different conditions: 1 ) if n is odd and it’s >=3 2) n is Even and its >=4 and 4k ( be a multiple of 4) 3) n is Even , it’s >=6 and be in 4K+1 form Thank you

Answers (0)

This question is closed.

Asked:

on 28 Oct 2022

Closed:

on 28 Oct 2022

Community Treasure Hunt

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

Start Hunting!