Homework Solution: hw22-Word References Mailings Review View Foxit PDF Tell me what you want to do… bCr AaBboct AaB AaBb AaBbCcDc AaBbCcDc A·ツ-A–_ -ts.e. . L1 .11Norm…

    hw22-Word References Mailings Review View Foxit PDF Tell me what you want to do... bCr AaBboct AaB AaBb AaBbCcDc AaBbCcDc A·ツ-A--_ -ts.e. . L1 .11Normal!!No Spac Heading 1 Heading 2 Title Subtit Styles Paragraph 3. Write a MATLAB function to convert the 11-bit exponent portion of a floating point number to its base-10 representation. The input to the function should be a [1 1 1] array of zeros and ones representing the base-2 exponent. Then, use your script to find the base-10 equivalents for the following exponents. Include a printed copy of your script with your homework. (hint: be sure to include the bias!) (hint 2: this task can be completed in less than 10 lines). a. Example: 00101101110 657 b. 10001011011 c. 00101111010 d. 11110011000 DOLL
    media%2F479%2F4797a06a-5845-429e-83e8-77
    hw22-Word References Mailings Review View Foxit PDF Tell me what you want to do... bCr AaBboct AaB AaBb AaBbCcDc AaBbCcDc A·ツ-A--_ -ts.e. . L1 .11Normal!!No Spac Heading 1 Heading 2 Title Subtit Styles Paragraph 3. Write a MATLAB function to convert the 11-bit exponent portion of a floating point number to its base-10 representation. The input to the function should be a [1 1 1] array of zeros and ones representing the base-2 exponent. Then, use your script to find the base-10 equivalents for the following exponents. Include a printed copy of your script with your homework. (hint: be sure to include the bias!) (hint 2: this task can be completed in less than 10 lines). a. Example: 00101101110 657 b. 10001011011 c. 00101111010 d. 11110011000 DOLL

    Expert Answer

     
    Both questions are lenghty to do at once. Please post the other question seperately. I

    hw22-Word References Mailings Review View Foxit PDF Tell me what you neglect to do... bCr AaBboct AaB AaBb AaBbCcDc AaBbCcDc A·ツ-A--_ -ts.e. . L1 .11Normal!!No Spac Heading 1 Heading 2 Title Subtit Styles Paragraph 3. Write a MATLAB business to alter the 11-bit propounder concern of a inchoate subject-matter reckon to its base-10 truthfulness. The input to the business should be a [1 1 1] arrange of zeros and ones representing the base-2 propounder. Then, truth your script to discover the base-10 equivalents coercion the subjoined propounders. Embody a printed observation of your script with your homework. (hint: be permanent to embody the bias!) (suggest 2: this labor can be completed in hither than 10 lines). a. Example: 00101101110 657 b. 10001011011 c. 00101111010 d. 11110011000 DOLL
    media%2F479%2F4797a06a-5845-429e-83e8-77

    hw22-Word References Mailings Review View Foxit PDF Tell me what you neglect to do… bCr AaBboct AaB AaBb AaBbCcDc AaBbCcDc A·ツ-A–_ -ts.e. . L1 .11Normal!!No Spac Heading 1 Heading 2 Title Subtit Styles Paragraph 3. Write a MATLAB business to alter the 11-bit propounder concern of a inchoate subject-matter reckon to its base-10 truthfulness. The input to the business should be a [1 1 1] arrange of zeros and ones representing the base-2 propounder. Then, truth your script to discover the base-10 equivalents coercion the subjoined propounders. Embody a printed observation of your script with your homework. (hint: be permanent to embody the bias!) (suggest 2: this labor can be completed in hither than 10 lines). a. Example: 00101101110 657 b. 10001011011 c. 00101111010 d. 11110011000 DOLL

    Expert Reply

     

    Both wavers are lenghty to do at once. Please support the other waver seperately. I am providing you the reresolution coercion waver 3. Let me distinguish if you feel any waver.

    Resolution 3:

    b=[1 1 1 1 0 0 1 1 0 0 0];

    business decimal= mybin2real(binarystring)
    decimal = 0;
    coercion i = 1 : extension(binarystring)
    decimal = decimal + (binarystring(i)) * 2^(length(binarystring) – i);
    end
    decimal;
    end

    mybin2real(b)

    Code and output: