Documentation

This is machine translation

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

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

seqreverse

Calculate reverse strand of nucleotide sequence

Syntax

SeqR = seqreverse(SeqNT)

Arguments

SeqNT

Nucleotide sequence specified by any of the following:

Description

SeqR = seqreverse(SeqNT) calculates the reverse strand of a DNA or RNA nucleotide sequence. The return sequence, SeqR, reads from 3' --> 5' and is in the same format as SeqNT. For example, if SeqNT is a vector of integers, then so is SeqR.

Examples

Return the reverse strand of a DNA nucleotide sequence.

s = 'ATCG'
seqreverse(s)
ans =
GCTA

Introduced before R2006a

Was this topic helpful?