Clear Filters
Clear Filters

how can i create a string buffer with n size

2 views (last 30 days)
SUNANNA S S
SUNANNA S S on 17 May 2017
Answered: KSSV on 17 May 2017
for example the string is aagttctactaac i want to split into aa,ag,gt,tt,tc,ct,ta etc

Answers (1)

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

Categories

Find more on Genomics and Next Generation Sequencing 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!