Latin Square of our own symbols

1 view (last 30 days)
Hi I want to construct latin square of my own numbers e.g A =[2 0 9 8] . How can I construct in matlab?
  1 Comment
sadiqa ilyas
sadiqa ilyas on 1 Jan 2020
I have used this code
C1 = {'2','0','9','8'}
idx = latsq(numel(C1))
M = C1(idx)
p=cell2mat(M)
out put is
'2098'
'0982'
'9820'
'8209'
I want in matrix form.Can any one help me

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 1 Jan 2020
p - '0'

More Answers (0)

Community Treasure Hunt

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

Start Hunting!