MEEN 357 Homework Solution
Convert the following 64 bit number to a real number:
There are a lot of different ways to do the arithmetic, including by hand.
Below is script for an mfile that will make MATLAB do the calculation.
%calculates number from 64 bit IEEE binary number.
%notation in 357 notes.
%Calculation of E
%You are given
Exp=[1 0 0 1 0 0 0 1 1 1 1]
%Next build the formula (3.41)for E
%Next build the formula (3.45) for f
%Build a matrix for all of the given and leading zeros in M
%Concatenate Q with the other given entries in M
%calculation of v from the table on page 17 of the notes
%for Lecture 3
%While not necessary, you can display your results as