How to multialign numeric data

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.

Asked:

on 9 Apr 2018

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!