Dna encoding rule1
2 次查看(过去 30 天)
显示 更早的评论
Hi I have an issue storing the DNA sequenc using for loop. If some one can help me.
x=[2 34 50 21];
[m n]=size(x);
mn=m*n;
P= [];
for i=1:length(x)
Q= convert_to_dna2(x(i));
P=Q(i);
end
output is 'GGGA'%error
requirment CAAACACACATAGGGA
2 个评论
Ameer Hamza
2020-6-18
How is the function convert_to_dna2 defined? What is the mapping rule between x=[2 34 50 21] and CAAACACACATAGGGA.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!