T prints out, on a clear screen, a table of temperatures

Assignment Help MATLAB Programming
Reference no: EM13166985

Create a MATLAB program (utilizing a temp-conversion function) that prints out, on a clear screen, a table of temperatures. Randomly generate 20 Celsius temperatures between -50 and 150 degrees. Your temp-conversion function should determine the Fahrenheit, Rankine, Celsius and Kelvin equivalents of the input temperature. Provide a header for your table which includes your name,and date. Skip a line and print out 'Temperature Comparison and Comfort ', centered. Skip two lines then provide column headers of Celsius, Kelvin, Fahrenheit, Rankine and Comfort. (Abbreviate if necessary) Celsius should be integer display, Kelvin: one decimal; Fahrenheit: 2 decimals; Rankine: 1 decimal. Numbers in columns should be aligned. The 'comfort' column should display text as follows: temperatures at or below 32 F are 'freeze'; >32F and <=55F: 'cold'; >55F and <=70F: 'mild'; > 70F and <90F: 'warm'; >90F and <=105F: 'hot'; >105F: '!!!'. 

Reference no: EM13166985

Questions Cloud

Use either an array or a linked list : Use either an Array or a Linked List as an underlying data structure. Of course you need to create class Array or class LinedList in order to implement the methods like mergeSort(), merge(), etc
Write a function that finds area and volume of a cube : write a function that finds area and volume of a cube when length is input and then write a program to test it. here is what i have so far.
Creates a bus class : write a program that creates a bus class. create a constructor that initializes the number of passengers and number of seats. declare four objects. use the default copy constructor to initialize two of the objects.
A pattern detector has an input : A pattern detector has an input a 4 x 4 matrix whose elements take values a, b, c, or d. The output is 1 if the matrix contains one b surrounded by eight a's and 0 otherwise.
T prints out, on a clear screen, a table of temperatures : Create a MATLAB program (utilizing a temp-conversion function) that prints out, on a clear screen, a table of temperatures.
Write a java program that reads unspecified number : Write a java program that reads unspecified number of integers (the input 0 signifies the end of the input). Calculates and displays the sum and the average of the input value (not counting zero). The program also finds the maximum and minimum of ..
Write an arm assembly function that takes an array of intege : Write an ARM assembly function that takes an array of integers and returns the index of the first occurrence of the integer in the array if it exists or -1 if it does not. Remember the initial integer in the array is at index zero.
The radix sort algorithm : Show what happens to the radix sort algorithm if the counting sort is not a stable sorting algorithm. Bring a counter example
Create a program that will round a floating point : Create a program that will round a floating point value to a specified number of decimal places as input by the user. To perform the actual calculation, write a function that takes the user's value and the number of decimal places as input paramet..

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Generate a sphere of diameter 3. create 3 vectors

Generate a sphere of diameter 3. Create 3 vectors representing the translation of this sphere along the x, y, and z axes. Generate the correct vectors given the description below: The sphere should be translated to (-10, -10, -10).

  Write a script to solve the following systems of equations

Write a script to solve the following systems of equations using both matrix left division (\) and the inverse matrix method and Show that you have tested your MATLAB code appropriately

  Anatomy of a machine

Need a Machine Learning application written in matlab to be able to predict, based on certain selected features of wine, which variants of wine are likely to score above a 5 out of 10 quality score.

  Least squares

For homework consider the points (0,0), (1,2), (2,3), (3,9), ( 4,17), (5,24), (6,37). (1) Use Matlab to find the least squares best fit with a line.  Turn in A, y and c and a plot like the one above.  Also (2) use Matlab to find the least square best..

  Receives one number as an input argument

Write a function per2 that receives one number as an input argument. The function has a persistent variable that sums the values passed to it. Here are the first two time the function is called

  Mat lab programming problem

In case the problem in the code I want you to modify it give the correct temperature.

  Program should be able to handle collisions

Write a program that, given a list of 5 social security numbers, finds the memory locations assigned by the hashing function h(k) = k mod 55 to store customer records. program should be able to handle collisions.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Generalize the program below to allow negative integers

Using SML: Generalize the program below to allow negative integers on the input. We assume that negative integers are preceded by the minus sign(-) rather than the tilde (~). Note that we not only have to recognize negative integers but we can no lon..

  Z-transform in matlab

Z-Transform in MATLAB, Sketch the z-plane pole-zero plot and determine the stability status for the following digital system. Determine the h(n) in MatLab.

  Create a matrix of 5x6

Prepare a matrix of 5x6. with identical columns and rows ranging from 200 to 1000 in equal increments

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