Azzera filtri
Azzera filtri

how can i create a string buffer with n size

2 visualizzazioni (ultimi 30 giorni)
SUNANNA S S
SUNANNA S S il 17 Mag 2017
Risposto: KSSV il 17 Mag 2017
for example the string is aagttctactaac i want to split into aa,ag,gt,tt,tc,ct,ta etc

Risposte (1)

KSSV
KSSV il 17 Mag 2017
str = 'aagttctactaac' ;
iwant = [str(1:end-1)' str(2:end)'] ;

Categorie

Scopri di più su Genomics and Next Generation Sequencing in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by