Home /
Expert Answers /
Computer Science /
need-help-with-this-matlab-script-start-writing-your-program-just-below-start-writing-your-program-pa325
(Solved): NEED HELP WITH THIS MATLAB SCRIPT, START WRITING YOUR PROGRAM
JUST BELOW %START WRITING YOUR PROGRAM ...
NEED HELP WITH THIS MATLAB SCRIPT, START WRITING YOUR PROGRAM
JUST BELOW %START WRITING YOUR PROGRAM. USE THE SAME INPUT AND
OUTPUT NAMES GIVEN IN PICTURE AND DO AS PER INSTRUCTIONS GIVEN IN
PICTURE. THANK YOU.
Table - Production Data You are given a cell array and two columns with information about different manufacturing machines' production data. The three variables are: ? mach - a cell array containing the names of the machines ? Pr - a vector, the same size as mach, containing the number of parts produced by each machine per day ? PEr - a vector, the same size as mach, containing the percentage of output parts with defects from each machine Create a table named ProdData with the three variables with the machine names first, followed by the number of parts produced, and the defect percentage in the last column. Then change the names of each column with the table to be MachineName, DailyProduction, and Defect Percent respectively. Script 1% Variables to be used 2 % Inputs 3% mach cell array of machine names Pr daily production number 5 PEr percentage of Defects 6 7 % Outputs 8 % ProdData- table of production data with columns 9 % MachineName 10 % 11 & DailyProduction DefectPercent My Solutions > Save C Reset EE MATLAB Documentation
Script> 1% Variables to be used 2% Inputs 3% mach - cell array of machine names 4% Pr - daily production number 5% PEr - percentage of Defects 6 7 % Outputs 8 % ProdData- table of production data with columns 9 % MachineName 10 % Daily Production 11 % Defect Percent 12 13 % Inputs Only edit this section if you are testing this code in MATLAB 14 Generate_mach_Pr_PEr % Comment this out to test in MATLAB. This generates the scalar Mass. 15 16 % Program 17% Start writing your program here 18 Save C Reset MATLAB Documentation Run Script
Ans:- "plz hit the like button it helps me a lot....thanks for visiting....plz don't dislike it leads to revocation of my account sir" % Matlab code to create a table ProdData with given cell array and 2 % columns with information about different man