MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > concatenate? 

I am reading two columns of data from a spreadsheet. The data from each column is an integer representation of a hex number. In MATLAB, I convert using dec2hex. So now I have two columns of hex numbers. I would like to put those hex numbers together to make a full word out of the two hex half words. 
Your questions isn't entirely clear, because "hex number" and "decimal number" aren't welldefined terms. Hex is a notation for writing down or printing out a number (or representing it as a string in memory) but it isn't usually needed in the course of a computation. What I think you're asking is just how to combine two numbers that represent the 16bit halves of a 32bit word. 
"David Young" wrote in message <h9b15q$mgf$1@fred.mathworks.com>... 
"Yadunandan " <nandu@mando.com> wrote in message <jfsu4b$4b0$1@newscl01ah.mathworks.com>... 
"Wyatt" wrote in message <k7bb0o$f78$1@newscl01ah.mathworks.com>... 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.