Compressing Image in Mathlab

You believe you have found a way to reduce costs by compressing image files using singular-value decomposition (SVD). The compressed files would require less storage space, which would result in savings for the company. You think it will work, but you want to test your theory and record the steps you take to use as a reference when sharing your idea with management.
DirectionsIn order to guarantee that management fully understands the process, you have mapped out the following steps to ensure you have captured the process and have data to support your findings and to share with management. Your plan is to demonstrate computations on a simple 3 x 3 matrix where the computations are easier to follow. Then you will perform similar computations on a large image to compress the image data without significantly degrading image quality.
To develop your idea proposal, work the problems described below. As you complete each part, make sure to show your work and carefully describe how you arrive at your final answer. Any MATLAB code or MATLAB terminal outputs you generate should be included in your idea proposal to support your answers and work.

Please Read before you bid on my question, If you have no idea of the question, do not bid.

For this Assignment, you use multiple logistic regression to analyze a dataset. You identify assumptions required by multiple logistic regression and evaluate whether they have been met by the data. Finally, you interpret your results and evaluate the use of multiple logistic regression.
The Assignment
Use the Week 7 Dataset (SPSS document) from the Learning Resources area to complete this assignment.
Variables and variable selection (20 Points)Use a table to list the variables, Sex, Age in Years, Serum Cholesterol, Obese, and Hypertension, and each of their levels of measurement. (10 Points)
Create new variables Age_Cat and Chole_Cat:
Age_Cat: Convert Age in Years into a categorical variable with 2 categories, Less than 40, 40 and greater
Chole_Cat: Convert Serum Cholesterol into 3 categories, Under 200, 200-299, and 300 and greater

Add the new variables to each record by coding the responses to the original variable using the assigned categories. Be sure that the variable view in SPSS has the correct information on the 2 new variables. (10 Points)
Simple Binary Logistic Regression (30 Points)
Use Hypertension as the dependent variable and Chole_Cat as the independent variable in the first model. Report the Odds Ratio and significance of the Odds Ratio for the relationship between the dependent and independent variables. (10 Points)
Use Hypertension as the dependent variable and Serum Cholesterol (the original variable) as the independent variable in the second model. Report the Odds Ratio and significance of the Odds Ratio for the relationship between the dependent and independent variables. (10 Points)
How does the level of measurement for the independent variable affect the outcome (include the OR and its significance in your response)? How does the level of measurement of the independent variable change your interpretation of the Odds Ratio? (10 Points)
Multivariate Logistic Regression (50 Points)
Run a multivariate binary logistic regression model using SPSS and Hypertension as the dependent variable, Chole_Cat, Age_Cat, Obese, and Sex as the Covariates. Include the output in your submission. (10 Points)
Identify the Odds Ratio and the significance of the Odds Ratio for each of the covariates. How has the relationship between Chole_Cat and Hypertension changed with the addition of the other variables (compare to the output from # 2a)? (15 Points)
Test the assumption that the model fits the data using the Hosmer-Lemeshow Goodness of Fit test. Interpret the Chi Square statistic given in the output of this test and state what it means in terms of the assumptions needed to use logistic regression with this data. (10 Points)
Rerun the logistic regression model from #3a and use the save function to create the following new variables: Predicted Probabilities, Deviance Residuals, and Cook’s Distance. Evaluate the model using these saved variables and the following Scatter Plots. (15 Points)
Create a Scatter Plot of the Deviance Residuals (DEV) and the variable ID: Are there any outliers? What does this mean when evaluating your model?
Create a Scatter Plot of Cook’s Distance (COO) and the variable ID: Are there any influential cases? What does this mean when evaluating your model?
Create a Scatter Plot of Deviance (DEV) and the Predicted Probabilities (PRE). Discuss whether anything in this scatterplot could cause you some concern in terms of your model.

3 short answer questions

Please type your answers and type your work to each question in a Microsoft word document. These are the questions:
Suppose that the price per unit in dollars of a cell phone production is modeled by p = $45 − 0.0125x, where x is in thousands of phones produced, and the revenue represented by thousands of dollars is R = x ⋅ p. Find the production level that will maximize revenue.
A soccer stadium holds 62,000 spectators. With a ticket price of $11, the average attendance has been 26,000. When the price dropped to $9, the average attendance rose to 31,000. Assuming that attendance is linearly related to ticket price, what ticket price would maximize revenue?
The revenue function of a fictional cable company can be modeled by the polynomial function:
R(t) = −0.037t4 1.414t3 − 19.777t2 118.696t − 205.332
where R represents the revenue in millions of dollars and t represents the year, with t = 1 corresponding to 2001. Using MS-Excel, create a graph of the Revenue Function and determine over which intervals is the revenue for the company increasing? Over which intervals is the revenue for the company decreasing?

Need help solving probability questions

Of these patients, 569,142 were not fully vaccinated. Moreover, of a total of 6,748 deaths in this cohort, 6,132 occurred in patients who were not fully vaccinated. In these data, a patient either has COVID-19 or doesn’t have COVID-19, and a patient is either vaccinated, or unvaccinated. Also, the probability of death may not be independent of vaccination status (which can be determined from the data).
a. If I randomly sample two people from the US population who have COVID-19, what is the probability that exactly one of the two is fully vaccinated?
b. What is the probability that one randomly selected person with a COVID-19 infection from the US population will be unvaccinated AND will die?
c. What is the probability that one randomly selected person with a COVID-19 infection from the US population will be unvaccinated OR die?

College Algebra

Review Seth’s Post and , explore their tools and techniques, and let them know how they will help you.
To study for the final exam I am going over all my notes and homework assignments. As well as going over the textbook to make it easier to find exactly what I am looking for rather than using a general search. I will be emphasizing more on the chapters I have been struggling with. Rewatching the videos as a visual aid will also be a help. I had printed out the examples for most of the homework problems I have struggled with so I can use them as a learning tool. I have scheduled more time to review these since pee wee football season ends this week. I believe having the extra time to study will be a big help.

Fourier Series matlab

please read the instruction bellow:
please do
part 2 :Fourier Series Synthesis
part 3:Processing Periodic Signals with Continuous-Time LTI Systems
and check off sheet answer all the question
please submit answer by screenshot your own work with “MATLAB coding ”
example for coding bellow ” file main”

week 7 hm math

In the quadratic formula, the terms B2 – 4AC underneath the radical have a special name: the Discriminant.
Discuss the relationship between the discriminant of a quadratic polynomial and the quantity of real roots it possesses. Explain the positioning of the roots of the polynomial on its graph with respect to the discriminant and the sign of the discriminant.

Need help with my LAb

Make a comment in the first line of your Script and write your name as a comment.Youshould submityour entire code. Do not submit thefinal answers or output tableonly. I will grade your code, not the final result.If you are writing all the questions in one script, separate questions using %% and begin each section with clear all; close all;
1.Create a character array (1×3), and store 3 strings: your first name, last nameand age
2.The following series can be written with a shorthand form of sigma notation (A): 12 12∗3 13∗4 ⋯ 1𝑛(𝑛 1)𝐴=∑1𝑛(𝑛 1)𝑛=10000𝑛=1Write aMatlab code to calculate this arithmetic series.
3.Create these matrices:
A = [243519]
B = [104512951]
a.Use the sizefunction to find the size of Matrix A and B.
b.Use the sizefunction to find the number of rows for matrix A and the number of columns for matrix B and call those variables NColumns and Nrows.
c.Zero the thirdcolumn of Matrix B
d.Multiply Bby A.
4.You work for an engineering design firm that has been contracted to evaluate the concentration of pollutants. A tall chimney releases (𝑀̇=20 kg/s) of smoke into a steady uniform wind of speed (u=10 m/s). An expression for the decay of the peak pollutant concentrationC(ppm)with distance downwind is given as:𝐶(𝑥,𝑦,𝑧)=𝑀̇4𝜋𝜌𝐷𝑥∗𝑒−(𝑦2 𝑧2)𝑢4𝐷𝑥Assuming that the diffusion coefficient D to be 0.01 m2/s, and the density of air to be (𝜌=1.225𝑘𝑔/𝑚3),4.You work for an engineering design firm that has been contracted to evaluate the concentration of pollutants. A tall chimney releases (𝑀̇=20 kg/s) of smoke into a steady uniform wind of speed (u=10 m/s). An expression for the decay of the peak pollutant concentrationC(ppm)with distance downwind is given as:𝐶(𝑥,𝑦,𝑧)=𝑀̇4𝜋𝜌𝐷𝑥∗𝑒−(𝑦2 𝑧2)𝑢4𝐷𝑥Assuming that the diffusion coefficient D to be 0.01 m2/s, and the density of air to be (𝜌=1.225𝑘𝑔/𝑚3),
a)Write a code in matlabto calculate the pollutant concentration(C1, C2)at two different locations downwind:
1.(x=1000 m, -5m < y < 5m, z=0 m). Use an interval of 0.2m for y.
2.(x =20000 m, -5m <y<5m, z = 0m).Use an interval of 0.2m for y.
b)Find the maximum pollutant concentration and the mean valuefor C1 and C2,using the built-infunctions.
c)Plot C1 and C2 on onesinglefigure;
a.Use blue dashed line for C1 and red dots for C2.
b.Plot the lines with a line width of 1.5.
c.Label x axis as ‘y(m)‘ and y axis as ‘ C (ppm)’.
d.Add a legend for C1 and C2.
e.Add twotext descriptionson this figure to the maximum points of C1 and C2.on the
5.Image processing
a.Read animage from your computer in Matlab:
b.Fromthe size of your matrix determinethe width and height of your image andif it isRGB or grayscale? (Show me the results as well.)
c.Change your RGB imageto gray scale.

Discrete Math Question

Discrete math live assignment at 12 PM EST. I have attached the topics that will be included in the live assignment. There are 120 minutes to complete the live assignment. All of the work needs to be shown and each answer needs to be proved.