0% found this document useful (0 votes)
31 views3 pages

MATLAB Measurement Conversion Lab

This document provides instructions for completing Machine Problem #1 in CS10-8L: Computer Programming Laboratory. Students are asked to write a MATLAB script that takes a user-input measurement in inches and converts it to feet, yards, centimeters and meters. The program must include header comments with information about the author, date, time, course and school. Students must take screenshots of their script and output in the editor and command windows and submit all files along with the problem sheet.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views3 pages

MATLAB Measurement Conversion Lab

This document provides instructions for completing Machine Problem #1 in CS10-8L: Computer Programming Laboratory. Students are asked to write a MATLAB script that takes a user-input measurement in inches and converts it to feet, yards, centimeters and meters. The program must include header comments with information about the author, date, time, course and school. Students must take screenshots of their script and output in the editor and command windows and submit all files along with the problem sheet.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

CS10-8L: Computer Programming Laboratory

Machine Problem #1: Getting Started

Name: Score:

Section: Date:

OBJECTIVES
● To familiarize the students with the MATLAB interface.
● To enable the students to use some basic operations.

Instructions:
1. Save your file as Surname_Firstname_MP1. Ex. ISIP_Cheryl_MP1

2. You will submit the following and send it to BB .

a. PDF file of Machine Problem 1 provided with the screenshot of your answers.
b. Matlab script with .m extension.

3. Your program must have comments for each section.


Header Comments:
%{
Write a description of the program.
Written by:Cheryl Mari M. Isip
Date: May 27,2021
Time: 7:30am
Program: BSIE
Course: CS10-8L
Section: B2
School: Mapua University
%}
Your output should be displayed rounded to two decimal places.

MACHINE PROBLEM

1. Write a program that converts and prints a user – supplied measurement from inches to the following:
a. Convert inches to feet.
b. Convert inches to yard.
c. Convert inches to centimeter.
d. Convert inches to meter.

In the editor window, take a screenshot and paste your output:

Prepared by: Engr. Cheryl Mari M. Isip, Mapua University


CS10-8L: Computer Programming Laboratory
Machine Problem #1: Getting Started

In the command window, take a screenshot and paste your output:

Prepared by: Engr. Cheryl Mari M. Isip, Mapua University


CS10-8L: Computer Programming Laboratory
Machine Problem #1: Getting Started

Prepared by: Engr. Cheryl Mari M. Isip, Mapua University

You might also like