Réponses (1)

Mischa Kim
Mischa Kim le 7 Avr 2014

0 votes

Kiran, try
B = arrayfun(@(ii,jj) {dec2bin(A(ii,jj))},repmat((1:size(A,1))',1,size(A,2)),repmat((1:size(A,2)),size(A,1),1));

1 commentaire

Fouad BOUDJIRA
Fouad BOUDJIRA le 12 Fév 2019
but this gives a cell input , that wont work with fprntf function !!!!!

Connectez-vous pour commenter.

Catégories

En savoir plus sur Mathematics dans Centre d'aide et File Exchange

Question posée :

le 7 Avr 2014

Commenté :

le 12 Fév 2019

Community Treasure Hunt

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

Start Hunting!

Translated by