Question

write a script that will take the temperature colu


help plz mathlab

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

I have written a simple matlab script for the same. It takes an input array hot_tub and checks for the temperature for the array values.

working script:

for i=1:N
if hot_tub(i)<100
disp("Temperature is below 100");
else if hot_tub(i)<107
   disp("Temperature is in between 100 and 106");
else
disp("Temperature is above 106");
end
end


answered by: ANURANJAN SARSAM
Add a comment
Know the answer?
Add Answer to:
help plz mathlab write a script that will take the temperature column from the matrix named...
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
  • I have to create a query from the inforamtion below then i have to create a...

    I have to create a query from the inforamtion below then i have to create a report from that query. thank you for the help Volunteer Hours Volunteer ID Date and Time Started Date and Time Ended S-101 1/2/2012 8:00:00 AM 1/2/2012 5:00:00 PM S-101 1/9/2012 12:00:00 PM 1/9/2012 10:00:00 PM S-101 1/10/2012 10:00:00 AM 1/10/2012 6:00:00 PM S-102 1/2/2012 4:00:00 PM 1/2/2012 10:00:00 PM S-102 1/10/2012 9:00:00 AM 1/10/2012 5:00:00 PM S-103 1/4/2012 9:00:00 AM 1/4/2012 8:00:00 PM S-104...

  • I need the answer to #2 listed above. This is the code I have come up...

    I need the answer to #2 listed above. This is the code I have come up with, and it is wrong. I am new to this and need help. group by sust.cida Q2 (7 Points) Show customer id (CID) for customers who have spent 30,000 or more with the company in 2019. Money is considered "spent" when the entire work order is completed as recorded in workorder.completionDate. (Correct query will find customer 2). Use ONE SQL statement. select workarder.id from...

  • Can you please provide the formula for the worksheet also. CASE PROBLEMS Level 1- Analyzing Sales...

    Can you please provide the formula for the worksheet also. CASE PROBLEMS Level 1- Analyzing Sales for Crèmes Ice Cream Judd Hemming is the eastern regional marketing manager for Crèmes Ice Cream. Eac quarter, he completes two separate analyses: an analysis comparing ice cream flavor sale volumes from all regional locations with the same quarter sales volumes from the previou year and an analysis comparing total sales in dollars, including mean, median, mode, and standard deviation, of sales by store....

  • As you know from Project 4, McCormick & Company is considering building a new factory in...

    As you know from Project 4, McCormick & Company is considering building a new factory in Largo, Maryland. McCormick & Company decided to offer $4,424,000 to obtain the land for this project. The new factory will require an initial investment of $350 million to build the new plant and purchase equipment. You have been asked to continue your work from project 4 with a full analysis of the proposed factory, including the start-up costs, the projected net cash flows from...

  • I have written my code for an employee management system that stores Employee class objects into...

    I have written my code for an employee management system that stores Employee class objects into a vector, I am getting no errors until I try and compile, I am getting the error: C2679 binary '==': no operator found which takes a right-hand operand of type 'const std::string' (or there is no acceptable conversion). But I am not sure why any help would be great, Thank you! 1 2 3 4 5 6 7 8 9 10 11 12 13...

  • Based on the document below, 1. Describe the hypothesis Chaudhuri et al ids attempting to evaluate;...

    Based on the document below, 1. Describe the hypothesis Chaudhuri et al ids attempting to evaluate; in other words, what is the goal of this paper? Why is he writing it? 2. Does the data presented in the paper support the hypothesis stated in the introduction? Explain. 3.According to Chaudhuri, what is the potential role of thew alkaline phosphatase in the cleanup of industrial waste. CHAUDHURI et al: KINETIC BEHAVIOUR OF CALF INTESTINAL ALP WITH PNPP 8.5, 9, 9.5, 10,...

  • In your judgement, and given only the facts described in this case, should the management of...

    In your judgement, and given only the facts described in this case, should the management of Massey energy Company be held morally responsible for the deaths of the 29 miners? Explain in detail. Suppose that nothing more is learned about the explosion other than what is described in this case. Do you think Don Blankership should be held morally responsible for the deaths of the 29 miners? Explain in detail. Given only the facts described in this case, should 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