Calculate reading ease score and grade level for each book

Assignment Help Simulation in MATLAB
Reference no: EM13985415

Program: Using The 1-D Matrix Grade Level and Reading Ease Score

Overview:

In this assignment you will practice using 1-dimensional arrays in MATLAB. You will hard- code a set of data into multiple arrays. This data will be used to perform 2 basic computations and the results will be stored in 2 respective new arrays.

Concept Objectives:

• Initialize Array with hardcoded data
• Access individual elements of Array
• Assign individual elements of Array with computation results

Grade Level and Reading Ease Score:

Two ways to measure how difficult a piece of text is to read are Grade Level and Reading Ease Score. These quantities can be calculated using The Flesch formulas seen below. The number of words, the number of sentences, and the number of syllables contained in a piece of text are used to determine the reading ease score and the appropriate grade level required for the reader.Flesch-Kincaid Readability Test - Wikipedia

ReadingEaseScore = 206.835 - 1.1015 × ASL - 84.6 × ASW

GradeLevel = 0.39 × ASL + 11.8 × ASW - 15.59

with

ASL =average sentence length (number of words / number of sentences)

ASW= average word length in syllables (number of syllables / number of words)

Input Data : The table below shows sample data from 4 books. Your program will compute the Grade Level and Reading Ease Score for each book and save this information in 2 respective arrays.

Data for 4 books:

Name

# Words

# Sentences

# Syllables

Dr. Suess

57

10

58

IRS Code

86

2

162

Thermodynamics text

149

8

264

MATLAB text

127

5

199

Results for 4 books:

Name

Reading Ease Score

Grade Level

Dr. Suess

 

 

IRS Code

 

 

Thermodynamics text

 

 

MATLAB text

 

 

Assignment :

1. Initialize 3 arrays with the data from the table. Give the arrays descriptive names.

2. Calculate ASL and ASW for each book.

3. Calculate Reading Ease Score and Grade Level for each book. This data must be stored in 2 new arrays.

4. Print the results in an easily readable formatted table to the command window. It should be clearly labeled and should contain it Book Name, Reading Ease Score and Grade Level for each book.

5. Bonus Write a MATLAB program that can read a text file and extract the needed data to do the calculations in this lab.

Reference no: EM13985415

Questions Cloud

Problem regarding the number of transmitted signals : Determine the conditional distribution of the number of registered signals given the number of transmitted signals, that is, compute P (Y (t) = k | X(t) = n) for suitable choices of k and n.
Moment in nonlinear bridge system : How can I get moment in nonlinear bridge system? Could you provide an example as well?
Prepare the balance sheet for justin park legal services : Prepare the worksheet for the year ended December 31, 20X8 and prepare the Income Statement & the Statement of Owners Equity for the year ended December 31, 20X8
What is the focal length of the first lens : One of your lens' can project an image of that candle on that screen when it is a distance D/4 from the screen. When the two lens' are put together, they can project an image of the candle on the screen when the combination is halfway between the ..
Calculate reading ease score and grade level for each book : Initialize 3 arrays with the data from the table. Give the arrays descriptive names. Calculate ASL and ASW for each book. Calculate Reading Ease Score and Grade Level for each book. This data must be stored in 2 new arrays
Problem regarding the poisson process with intensity : M°ans waits for the bus. The waiting time, T , until a bus comes is U (0, a)- distributed. While he waits he tries to get a ride from cars that pass by according to a Poisson process with intensity λ. The probability of a passing car ..
What is the potential energy of the block : What is the potential energy of the block before It Is released relative to the bottom of the circle? What is the kinetic energy and the speed of the block when it reaches the bottom?
What is erp system : What is ERP system? Give a brief history of ERP system. How did ERP system bring Career Opportunities?
Problem regarding the service times independent : The service times are independent and Exp(8)-distributed. Let Tk be the time from 9:05 until service has been completed for k of the two customers, k = 1, 2. Find E Tk for k = 1 and 2.

Reviews

Write a Review

Simulation in MATLAB Questions & Answers

  Impact of zigbee on telecommunication systems

Topic is impact of zigbee on telecommunication systems. In this report you need to either do some measurement or do matlab code or simulation.

  Project is on load frequency control using fpid

Project is on load frequency control using FPID tuned using GA and PSO algorithm and the system is a two area system.

  What is the span of the columns

(a) Generate a random 3x5 matrix ?? with entry integers uniformly between -100 and 100. Hint: Search for help on the functions rand and randi. (b) Put the matrix ?? in reduced echelon form using the command rref. (c) Are the columns of A linearly ..

  Simulate 16-qam system without grey coding

Simulate and compare the BER of a 16-PSK system and a 16-QAM system without Grey coding and Eb/N0=0,2,4,6,8,10 dB. "

  Design a controller for a wind power induction generator

Design a controller for a wind power induction generator with battery connected and grid connected to "improve harmonics level". The controller can be reactive power control method.

  Build a matlab based graphical user interface

Build a Matlab based graphical user interface (GUI) that operates in conjunction with a base Matlab/ Simulink simulation program. Any base simulation is considered acceptable.

  Construct simulation to portray macrophage chasing bacteria

Construct simulation in MATLAB to portray a macrophage chasing a bacteria as it diffuses away and ultimately catching it if:

  Use matlab to plot the periodic square wave

Use MATLAB to plot the periodic square wave 5 f(t) over the time interval 0 ≤ t ≤ 3T  . On the same graph, plot the output waveforms, f0(t), of the two amplifiers with corner frequencies of F =  10I and F = 40I, respectively.

  What is probability that account will have insufficient fund

What is the probability that the account will have insufficient funds to pay claims at some point during the year - what should this amount be if the company wants there to only be a 5% chance of having insufficient funds?

  Model predictive control with shell standard control problem

Design Model Predictive Control on Shell Control Problem - strongly interactive and there are a great number of input as well as outputs. PID controller could do the good job for controlling the process but Model Predictive Controller could definit..

  Negative feedback system with time delay

What T is required? Use Matlab to make a Bode plot for this value of T and draw the signal flow graph to represent the equations of the circuit. Use Mason's Rule to find the transfer function H(s).

  What is the total variability in the dataset

This problem is aimed at helping you understand the PGA method using an idealized dataset Since you know the data you are generating. it should help you understand the capability of the method. Perform a principal component analysis on the dataset ..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd