ahmad_abdulghany
Advanced Member level 4
- Joined
- Apr 12, 2005
- Messages
- 1,206
- Helped
- 102
- Reputation
- 206
- Reaction score
- 22
- Trophy points
- 1,318
- Location
- San Jose, California, USA
- Activity points
- 11,769
Hello,
I have a variable got from the function: fgetl() , that variable contains rows like this:
a= 12345 6789
it contains many rows like the above, but it's not a two columns vector, but many columns,
when I type:
I want when i type a' it prints:
12345
6789
i.e. convert each batch of separate digits (or they're actually characters) into one number
Please help me ,
Thanks in advance,
Ahmad,
I have a variable got from the function: fgetl() , that variable contains rows like this:
a= 12345 6789
it contains many rows like the above, but it's not a two columns vector, but many columns,
when I type:
Code:
>> a' % to get the transpose of it
ans
1
2
3
4
5
6
7
8
9
>>
I want when i type a' it prints:
12345
6789
i.e. convert each batch of separate digits (or they're actually characters) into one number
Please help me ,
Thanks in advance,
Ahmad,