Protein sequence manipulation for adding elements before or after the sequence.
조회 수: 1 (최근 30일)
이전 댓글 표시
how do i add zeros to both ends or one end (before or after) of a protein sequence?
Example:
a protein sequence is given as 'ITYTDCTESGQDLCLCEGSDVCGKGNKCILGSNGEENQCVTGEGTPKPQSHNDGDFEEIPEEYLQ'
how do i add zeros at the beginning before the first element of the sequence?
댓글 수: 0
채택된 답변
Peng Li
2020년 3월 31일
The easiest way to add N zeros before it can be done by:
[repmat('0', 1, N) yourProSeq];
댓글 수: 5
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Large Files and Big Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!