Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is for MATLAB class there are some txt files given, since I can't upload those here, if you write your mail address on the

This is for MATLAB class

there are some txt files given, since I can't upload those here, if you write your mail address on the comment, i can send them( if you need those)

please write the MATLAB code

Thanks in advance

These are the answers with the test cases.

Function Name: bookmateMatch

%

% Test Cases:

% [out1] = bookmateMatch('BH.txt', 'CS.txt')

% out1 => Bob Henderson and Cindy Silverman have a 32% bookmate compatibility score.

%

% [out1] = bookmateMatch('BH.txt', 'JB.txt')

% out1 => Bob Henderson and Jeremy Bones have a 70% bookmate compatibility score.

%

% [out1] = bookmateMatch('CS.txt', 'JB.txt')

% out1 => Cindy Silverman and Jeremy Bones have a 32% bookmate compatibility score.

image text in transcribed

image text in transcribed

image text in transcribed

Homework 8-Low Level File IVO Function Name: booknateMatch Inputs: 1. (char) The name of a text file containing the first person's survey answers 2. (char) The name of a text file containing the second person's survey answers Outputs: 1. (char) A sentence describing the compatbility between two potential bookmates Function Description: A significant part of reading is sharing the joy with someone else! To ensure that your potential bookmate is top notch and loves to read as much as you do, you will write a function that compares two individuals surveys and outputs a sentence describing the compatibility of the match as roommates who both love to read, or bookmates! The output will be formatted as and have a % bookmate compatibility score." Both files will be formatted the following way Name: Mclanic March Earliest Class: 10:80 AM How late do you stay up: 3 x Late Really Late 7Favorite book: Harry Potter 8 Tell us about yourself: 9 am 22 years old and an bringing my cat, fluffy, with me ) i also 10 really really love to sing in the shower. I hope my booknate is 11 musical like nec ;0 12 The first 8 lines will always define the same information (Name on first line, earliest class Homework 8-Low Level File IVO Function Name: booknateMatch Inputs: 1. (char) The name of a text file containing the first person's survey answers 2. (char) The name of a text file containing the second person's survey answers Outputs: 1. (char) A sentence describing the compatbility between two potential bookmates Function Description: A significant part of reading is sharing the joy with someone else! To ensure that your potential bookmate is top notch and loves to read as much as you do, you will write a function that compares two individuals surveys and outputs a sentence describing the compatibility of the match as roommates who both love to read, or bookmates! The output will be formatted as and have a % bookmate compatibility score." Both files will be formatted the following way Name: Mclanic March Earliest Class: 10:80 AM How late do you stay up: 3 x Late Really Late 7Favorite book: Harry Potter 8 Tell us about yourself: 9 am 22 years old and an bringing my cat, fluffy, with me ) i also 10 really really love to sing in the shower. I hope my booknate is 11 musical like nec ;0 12 The first 8 lines will always define the same information (Name on first line, earliest class

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Structured Search For Big Data From Keywords To Key-objects

Authors: Mikhail Gilula

1st Edition

012804652X, 9780128046524

More Books

Students also viewed these Databases questions

Question

Show the properties and structure of allotropes of carbon.

Answered: 1 week ago

Question

How do Dimensional Database Models differ from Relational Models?

Answered: 1 week ago

Question

What type of processing do Relational Databases support?

Answered: 1 week ago

Question

Describe several aggregation operators.

Answered: 1 week ago