Write a separate matlab m-file the name of each m-file must


For each of the problems in this lab assignment, write a separate MATLAB m-file. The name of each m-file must be exactly as specified in the corresponding problem statement.

Submit your m files by uploading to Blackboard before the due date. A p-file (an encrypted script file) for problem 2 is available on the Lab page of the course website.

You can download this file and run it from the command line to see how your code should behave. Make the behavior of your code match that of the p-file.

1. Filename: MAE1090_Lab 7_1 middot m Write an m-file to add two 30-digit numbers and print the results. This is not as easy as it might sound at first because integer types may not be able to store a value this large. One way to handle large integers is to store them in vectors, where each element in the vector stores a digit of the integer.

Your script should initialize two 30-digit integers, storing each in a vector, and then add these integers, also storing the result in a vector. Create the original numbers using the built in function randi middot m.

2. Filename: MAE1090_Lab 7_1 middot m Amino acids are the fundamental compounds that make up proteins. Viruses, such as influenza and HIV, have genomes which code for proteins that have pathogenic results.

Human bodies recognize foreign proteins by binding them to other molecules so that they can be recognized and killed. Write an m-file. That determines whether an amino acid is going to bind to a certain molecule. It is known that the first region (1 - 5) of the molecule bonds strongly to amino acids A, C, I, L, Y, and E, and weakly to W, S, M, G, and K.

It is also know that the second region (6 - 10) binds strongly to H, D, W, K, L, and A, and weakly to I, E, P, C, and T. Your m-file should prompt the user for two things: the region number and a character for the amino acid. The script should then determine whether the amino acid and the molecule results in a "strong" or "weak" binding.

Request for Solution File

Ask an Expert for Answer!!
MATLAB Programming: Write a separate matlab m-file the name of each m-file must
Reference No:- TGS02899643

Expected delivery within 24 Hours