Question: Using MATLAB please provide code to do the following: Nucleobases are nitrogen-containing biological compounds (nitrogenous bases) found within nucleotidesthe basic building blocks of deoxyribonucleic acid
Using MATLAB please provide code to do the following:
Nucleobases are nitrogen-containing biological compounds (nitrogenous bases) found within nucleotidesthe basic building blocks of deoxyribonucleic acid (DNA) and ribonucleic acid (RNA). The primary nucleobases are cytosine (DNA and RNA), guanine (DNA and RNA), adenine (DNA and RNA), thymine (DNA) and uracil (RNA), abbreviated as C, G, A, T, and U, respectively.
Using MATLAB please provide code to do the following:
(a) Generate a 10000x10000 Matrix of random numbers representing Nucleobases A, C, G, T, and U.
(b) Display the matrix of letters. (i.e. use the result of part a to produce a matrix containing the nucleobase letters)
(c) Look for patterns within the matrix (i.e. sequences of nucleobases in a row, column, or diagonally). Specifically check for Codons 1-7 delineated in the following graph. Return the indices of the codons.

(d) Are there any RNAs in your matrix? If so, return the RNAs first Characters indices and specify in what direction to read the rest of the characters. For ease map left to 1, right to 2, down to 3, and up to 4
(e) If your matrix has no RNAs then modify it to have one row, one column, and one perpendicular RNA and then run code from parts (c) and (d) on it again.
Codon 1 C Codon 2 SC SG Codon 3 Codon 4 TG G Codon 5 G Codon 6 G2 A Codon 7 RNA Ribonucleic acid Codon 1 C Codon 2 SC SG Codon 3 Codon 4 TG G Codon 5 G Codon 6 G2 A Codon 7 RNA Ribonucleic acid
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
