please help me how to enter a matrix of numbers and word like a= ab cd ef 1 2 3 4 55 6 and i want to use the number in it like >>a(2,3)+2 =5

 Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 19 Dec 2013
Edited: Azzi Abdelmalek on 19 Dec 2013
Use cell array
a={'ab' 'cd' 'ef'
1 2 3
4 55 6}
a{2,3}+2

2 Comments

thank you very much mr azzi it was very usefull
wessam, you might like to read the FAQ on cell arrays

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!