Random index cell selection
2 views (last 30 days)
Show older comments
Hi,
I want to select a random text cell in a column. Is there a specific code that I can use for selection of a random text cell in a matrix that I have imported to Matlab?
So far, I have divided the imported matrix into num, txt and raw. But, I cannot go further. You can see my codes as following:
[num,txt,raw] = xlsread('D:\Norwegian\Ordbok\Ord.xlsx');
A = txt (:,1:5);
B = txt(:,6:9);
0 Comments
Answers (1)
See Also
Categories
Find more on Characters and Strings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!