Info

此问题已关闭。 请重新打开它进行编辑或回答。

How to multialign numeric data

1 次查看(过去 30 天)
Dina Berenbaum
Dina Berenbaum 2018-4-9
关闭: MATLAB Answer Bot 2021-8-20
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

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by