how can i create a string buffer with n size

for example the string is aagttctactaac i want to split into aa,ag,gt,tt,tc,ct,ta etc

Antworten (1)

KSSV
KSSV am 17 Mai 2017

1 Stimme

str = 'aagttctactaac' ;
iwant = [str(1:end-1)' str(2:end)'] ;

Kategorien

Mehr zu Genomics and Next Generation Sequencing finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 17 Mai 2017

Beantwortet:

am 17 Mai 2017

Community Treasure Hunt

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

Start Hunting!

Translated by