genDNAseq
Version 1.0.1 (1.48 KB) by
Mark
Input the percentage of each base pair to generate a random DNA sequence 100 base pairs long.
genDNAseq - input the percentage of each base pair to generate a random DNA sequence 100 base pairs long.
Inputs:
percentA - percentage of basepairs that are "A"
percentC - percentage of basepairs that are "C"
percentG - percentage of basepairs that are "G"
percentT - percentage of basepairs that are "T"
Output:
geneticSeq - string of basepairs with the spesified parameters
MATLAB Release Compatibility
Created with
R2022b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.