Latin Square of our own symbols

3 vues (au cours des 30 derniers jours)
sadiqa ilyas
sadiqa ilyas le 1 Jan 2020
Commenté : sadiqa ilyas le 1 Jan 2020
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 commentaire
sadiqa ilyas
sadiqa ilyas le 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

Connectez-vous pour commenter.

Réponse acceptée

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

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by