Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
how can i get output
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
input sample: x=[43 03 00 10]
output sample: y= 43030010
how can i get this output ???
0 commentaires
Réponses (3)
Azzi Abdelmalek
le 16 Jan 2013
Modifié(e) : Azzi Abdelmalek
le 16 Jan 2013
x= [43 3 0 10]
y=[]
for k=1:numel(x)
y=[y num2str(x(k))];
end
y=str2num(y);
%or
y=str2num(cell2mat(arrayfun(@num2str,x,'un',0)))
0 commentaires
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!