MATLAB Answers

char array to pick

2 views (last 30 days)
dmfwlansejr on 29 Jul 2021
Answered: Akira Agata on 29 Jul 2021
a =
5×3 char array
I want to pick
I want to convert to following. No 'for', 'while' etc... use

Accepted Answer

Akira Agata
Akira Agata on 29 Jul 2021
The solution should be:
b = a(:,2:3);

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by