Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
how can i get output
조회 수: 2 (최근 30일)
이전 댓글 표시
input sample: x=[43 03 00 10]
output sample: y= 43030010
how can i get this output ???
댓글 수: 0
답변 (3개)
Azzi Abdelmalek
2013년 1월 16일
편집: Azzi Abdelmalek
2013년 1월 16일
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
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!