how to convert a long list into an array with semicolongs
1 次查看(过去 30 天)
显示 更早的评论
I'm pretty new to MatLab but while this seems very simple I can't find an answer
I am downloading amino acid or nucelotide sequences from the NIH data base, and these appear like
CGTGAATACAAAAATATGCCAGCTTGCTAATATAATAACGATGTTTTCAAATCCATTAAGTTAACAACAA
that go on for hundreds or thousands of letters
I'm using each letter to trigger a different event, in this case play a different sound
to do so I need each letter separated by a semicolon, which I believe makes it a separate row in an array
is there an instruction that will take a string of letters as above and insert a semicolon between the letters?
thanks very much, Dave
0 个评论
回答(2 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!