3 Write the code fragments both the data declarations and da
3. Write the code fragments, both the data declarations and data and variable manipulati
ons that will
do the Fahrenheit to a Celsius temperature conversion, according to the formula:
C = (5/9) * (F–32)
Do In assembly language Coding
Solution
function [c] = temperature(x)
c = (x - 32) * 5/9;
and save it as temp.m
then
you call it like this:
[c]=temperature(-41)
