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!