Clear Filters
Clear Filters

after concatenation of matrix of different dimension how to extrat value of particluar row and column

1 view (last 30 days)
m1=rand(10,2); m2=rand(10,3); m3=rand(10,6); m={m1,m2,m3}; if i want m2(3,2) i will get value, but using m i want to get m2(3,2), is this possible.

Accepted Answer

Ameer Hamza
Ameer Hamza on 17 May 2018
Edited: Ameer Hamza on 17 May 2018
Acces it like this
m{2}(3,2)
Refer here and here for further details about cell array indexing.

More Answers (0)

Categories

Find more on Data Type Conversion in Help Center and File Exchange

Tags

Products


Release

R2016a

Community Treasure Hunt

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

Start Hunting!