Question

(use filename system: lastname_tempdata_firstinitial.m) 1. Gilat Chapter 6 Chapter7 #6. Use a single M-file and use mnemonic

0 0
Add a comment Improve this question Transcribed image text
Answer #1

`Hey,

Note: If you have any queries related to the answer please do comment. I would be very happy to resolve all your queries.

clc

clear all

close all

format long

TNY = [31 26 30 33 33 39 41 41 34 33 45 42 36 39 37 45 43 36 41 37 32 32 35 42 38 33 40 37 36 51 50];

TANC = [ 37 24 28 25 21 28 46 37 36 20 24 31 34 40 43 36 34 41 42 35 38 36 35 33 42 42 37 26 20 25 31];

fprintf('average temperature of TNY is %.2f\n',mean(TNY));

fprintf('average temperature of TANC is %.2f\n',mean(TANC));

disp('part b')

disp('FOR TNY')

sum(TNY<mean(TNY))

disp('FOR TANC')

sum(TANC<mean(TANC))

disp('part c')

disp('NUM days');

sum(TANC>TNY)

disp('dates');

find(TANC>TNY)

disp('part d')

disp('NUM days');

sum(TANC==TNY)

disp('dates');

find(TANC==TNY)

0... m 1... al... 9 10 11 - 12 13 14 - 15 - 16 17 18 19 20 21 22 23 24 25 disp(part by disp(FOR TNY) sum (TNY<mean (TNY))

Note: Brother According to Chegg's policy we are only allowed to answer first 4 part if it is not a one word answer and there are many. So, I request you to post other part as separate posts

Kindly revert for any queries

Thanks.

Add a comment
Know the answer?
Add Answer to:
(use filename system: lastname_tempdata_firstinitial.m) 1. Gilat Chapter 6 Chapter7 #6. Use a single M-file and use...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Reserve Problems Chapter 10 Section 1 Problem 1 Your answer is partially correct. Try again. Consider...

    Reserve Problems Chapter 10 Section 1 Problem 1 Your answer is partially correct. Try again. Consider the hypothesis test Ho : 41 - 42 = 0 against H : H1 – 42 0 samples below: 1 36 38 31 32 33 30 32 30 38 38 31 3836 32 39 30 35 39 II 33 30 33 32 32 29 30 37 31 34 30 29 29 33 34 35 Variances: 61 = 3.7, 62 = 2.1. Use a =...

  • Reserve Problems Chapter 10 Section 1 Problem 1 Your answer is partially correct. Try again. Consider...

    Reserve Problems Chapter 10 Section 1 Problem 1 Your answer is partially correct. Try again. Consider the hypothesis test Ho: Mi - M2 = 0) against H1 : 41 - 42 7 0 samples below: I 35 38 31 32 33 30 31 29 39 38 30 38 36 31 39 32 36 39 II 32 29 33 32 31 29 30 36 31 34 30 30 30 32 34 34 Variances: 0 = 3.9, 02 = 0.6. Use a...

  • Reserve Problems Chapter 10 Section 1 Problem 1 Consider the hypothesis test Ho: 41 - My...

    Reserve Problems Chapter 10 Section 1 Problem 1 Consider the hypothesis test Ho: 41 - My = 0 against H : H1Hy samples below: I 35 40 31 32 33 30 32 30 39 38 30 38 36 30 39 30 36 40 II 32 29 33 33 31 29 30 36 31 34 30 30 29 33 33 34 Variances: o = 4.0, 62 = 2.0. Use a = 0.05. (a) Test the hypothesis and find the P-value. Find...

  • Reserve Problems Chapter 10 Section 1 Problem 1 Your answer is partially correct. Try again. Consider...

    Reserve Problems Chapter 10 Section 1 Problem 1 Your answer is partially correct. Try again. Consider the hypothesis test Ho : 41 – 12 = 0 against H : H1 – Hy 70 samples below: I 37 39 31 33 33 30 31 30 38 38 30 37 36 30 39 31 35 38 II 33 29 34 33 32 29 30 35 31 34 30 30 31 32 34 35 Variances: 6 = 3.8, o2 = 0.1. Use a...

  • Use ratios to analyze a company's liquidity and solvency. 1 Condensed financial statements for Games Galore...

    Use ratios to analyze a company's liquidity and solvency. 1 Condensed financial statements for Games Galore are summarized below: 2 3 Balance Sheet 4 Cash 2016 2015 185,000 $ 143,000 5 Accounts Receivable, Net 6 Inventory 7 Prepaid Insurance 80,000 59,000 134,000 104,000 11,900 5,880 Total Current Assets 380,900 341,880 9 Property and Equipment, Net 514,500 407,000 895,400 $ 10 Total Assets 748,880 11 12 Current Liabilities 85,300 $ 96,800 13 Long-term Liabilities 284,000 224,000 14 Total Liabilities 369,300 320,800...

  • Part 3.  Write a program to dynamically allocate some char buffers, use memset to fill them, and...

    Part 3.  Write a program to dynamically allocate some char buffers, use memset to fill them, and use memcpy and memmove to move the data around. I suggest you do part 3a, test and verify it’s working as expected, then add part b, test & verify, then do part 3c.  You only need to turn in the complete program, but doing it in steps will help both with understanding and if you have bugs along the way. Part 3a. a.Allocate 2 char...

  • How Democratic is Georgia County by-county results are shown for a recent election. For your convenience,...

    How Democratic is Georgia County by-county results are shown for a recent election. For your convenience, the dates have been sorted in increasing order (Source County and City Data Hook, 12th edition, U.S. Census Bureau). Percentage of Democratic Vote by Counties in George 31 33 34 34 35 35 35 36 38 40 41 41 41 41 41 41 41 45 46 46 46 46 47 48 49 49 53 53 53 53 53 55 56 56 57 57 (a)...

  • I have to make stock changes for the 90 days and professor showed example for 50...

    I have to make stock changes for the 90 days and professor showed example for 50 days. I do not know how to do it. The price of a share of a particular stock listed on the New York Stock Exchange is currently $39. The following probability distribution shows how the price per share is expected to change over a three-month period: Stock Price Change ($) - Probability 0.05 0.10 0.25 0.20 0.20 0.10 0.10 + + +1 +2 +3...

  • I have attached four pictures, for the one problem. 1. Use ratios to analyze a company's...

    I have attached four pictures, for the one problem. 1. Use ratios to analyze a company's liquidity and solvency. ? X Calculate Select Ratios - Excel FORMULAS DATA REVIEW - Sign In FILE HOME INSERT PAGE LAYOUT VIEW Calibri |11 A A = % D E A E- Paste B I U . " A Alignment Number Conditional Format as Cell Formatting Table Styles Styles Cells - Editing Clipboard Font A1 X fic Condensed financial statements for Games Galore are...

  • QUESTIONS 4-6 PLEASE. MUST INCLUDE: For questions 4 – 6 you must show the following: A...

    QUESTIONS 4-6 PLEASE. MUST INCLUDE: For questions 4 – 6 you must show the following: A sketch of the normal distribution with the appropriate area shaded in. The target area as four decimal places. The z-score that represents the cutoff point for the area. The final answer calculation including a label. Elementary Statistics The National Center for Health Statistics keeps records of the birth weights of all babies born in the United States. The birth weights are normally distributed. The...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT