필터 지우기
필터 지우기

nwalign using decimals

조회 수: 1 (최근 30일)
Diego
Diego 2011년 12월 27일
Good morning, I modified the nwalign function to work with decimal numbers. I named it ohalign. Everything works fine (it finish without errors and display the score), except I cannot see the alignment. In the line: % adding sequence to alignment alignment(1,path(:,1)>0) = seq1;
I receive this warning: Warning: Out of range or non-integer values truncated during conversion to character. > In ohalign at 235
I'm working blind since I cannot read the affinegapmex function neither modify it to work with my inputs.
Somebody can point me about what to do in order to display the alignments?
Thanks in advance,
Diego

채택된 답변

Walter Roberson
Walter Roberson 2011년 12월 27일
alignment is currently initialized as character. You will have to initialize it as one of the numeric data types instead (e.g., double)
  댓글 수: 1
Diego
Diego 2011년 12월 27일
Thank you very much Walter.
Best
Diego

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Oceanography and Hydrology에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by