Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

How to multialign numeric data

1 view (last 30 days)
Dina Berenbaum
Dina Berenbaum on 9 Apr 2018
Closed: MATLAB Answer Bot on 20 Aug 2021
Hello,
I would like to preform multi-alignment of numeric vectors, similar to multialign function of sequences. However, this function works only with nucleotides or amino acids strings and I would like it to do the same for numeric vectors. For example:
input:
a = [ 1 7 3 4];
b = [ 1 7 5 ] ;
c = [ 7 3 4 8];
output:
1 7 3 4 - -
1 7 - - 5 -
- 7 3 4 - 8
I have more than 20 numbers, so converting to AA is not an option.
Thank you very much, Dina

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!