This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materials including this page, select Japan from the country navigator on the bottom of this page.


Convert DNA sequence to RNA sequence


SeqRNA = dna2rna(SeqDNA)



DNA sequence specified by any of the following:


SeqRNA = dna2rna(SeqDNA) converts a DNA sequence to an RNA sequence by converting any thymine nucleotides (T) in the DNA sequence to uracil nucleotides (U). The RNA sequence is returned in the same format as the DNA sequence. For example, if SeqDNA is a vector of integers, then so is SeqRNA.


collapse all

dna = randseq(100)
dna =


rna = dna2rna(dna)
rna =


See Also

| |

Introduced before R2006a

Was this topic helpful?