Effacer les filtres
Effacer les filtres

nwalign using decimals

1 vue (au cours des 30 derniers jours)
Diego
Diego le 27 Déc 2011
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

Réponse acceptée

Walter Roberson
Walter Roberson le 27 Déc 2011
alignment is currently initialized as character. You will have to initialize it as one of the numeric data types instead (e.g., double)
  1 commentaire
Diego
Diego le 27 Déc 2011
Thank you very much Walter.
Best
Diego

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Oceanography and Hydrology dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by