Asked by Rajesh
on 26 Nov 2012

Hello everyone, This could come as a very basic question. I'm trying to concate 2 large numbers. For example: 5602007248 and 5602007720. The answer should be 56020072485602007720.

Currently, i'm trying converting to str and using strcat then converting back to num, but that doesnt seem to work somehow.

Help really appreciated. Thanks Raj

*No products are associated with this question.*

Answer by Muruganandham Subramanian
on 26 Nov 2012

a=10; b=20;

a1=num2str(a);

b1=num2str(b);

c=strcat(a1,b1)

Show 1 older comment

Muruganandham Subramanian
on 26 Nov 2012

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn moreOpportunities for recent engineering grads.

Apply Today
## 0 Comments