필터 지우기
필터 지우기

how can i create a string buffer with n size

조회 수: 2 (최근 30일)
SUNANNA S S
SUNANNA S S 2017년 5월 17일
답변: KSSV 2017년 5월 17일
for example the string is aagttctactaac i want to split into aa,ag,gt,tt,tc,ct,ta etc

답변 (1개)

KSSV
KSSV 2017년 5월 17일
str = 'aagttctactaac' ;
iwant = [str(1:end-1)' str(2:end)'] ;

카테고리

Help CenterFile Exchange에서 Genomics and Next Generation Sequencing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by