If I have the following cell contents:
>> CR(23)
ans =
'P-3'
>> CR(24)
ans =
'*-'
>>
Is there any way that I can make CR(23)='P-3*-', in other words, I would like to concatenate the contents of the above cells into one of the cell's contents. In excel, it is done by the concatenate function but how can I do it in matlab?
Thanks!!! I appreciate any help!
[CR{:}] % or [CR{23:24}] etc...
"Matt Fig" <spam...@yahoo.com> wrote in message <gmm5qt$7bf$1...@fred.mathworks.com>...
str =
a1
>> ['a' num2str(1)]
ans =
a1
shaun