1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
motikmotik
4 years ago
11

Create a program in Matlab that prints the numbers from 1-100.

Computers and Technology
1 answer:
Burka [1]4 years ago
4 0

Answer:

numbers = 1:1:100;

for num=numbers

remainder3 = rem(num,3);

remainder5 = rem(num,5);

 

if remainder3==0

disp("Yee")

else

if remainder3 == 0 && remainder5 == 0

disp ("Yee-Haw")

else

if remainder5==0

disp("Haw")

else

disp("Not a multiple of 5 or 4")

end

end

end  

end

Explanation:

  • Initialize the numbers variable from 1 to 100.
  • Loop through the all the numbers and find their remainders.
  • Check if a number is multiple of 5, 3 or both and display the message accordingly.
You might be interested in
Help Pls<br>I need about 5 advantages of E-learning​
AnnyKZ [126]

Answer:

Explanation:

E-learning saves time and money. With online learning, your learners can access content anywhere and anytime. ...

E-learning leads to better retention. ...

E-learning is consistent. ...

E-learning is scalable. ...

E-learning offers personalization.

7 0
3 years ago
Read 2 more answers
Background Susan finished work on system architecture issues, and her system design specification was approved. Now she is ready
beks73 [17]

Answer:

i think it can be

Explanation:

4 0
4 years ago
What is the best summation of the main idea in Andrew Blum’s speech, "Discover the Physical Side of the Internet"? Question 10 o
rewona [7]

Answer:

c) We should be aware of the network and geographic presence behind our internet access rather than taking it for granted.

Explanation:

Andrew Blum’s speech is about the physical world and the size of the internet, he spent more time on the computer and cell phone than in the real world, and he had an issue with his internet, and the technician told him, squirrel has bittern your internet.

This can mean that the internet can be something complex and a huge thing, but can be damage for a squirrel, can be something simple.

6 0
3 years ago
Your principal has hired you to design a drone that can monitor students in the hallways. Before you brainstorm design ideas, yo
torisob [31]
It’s gonna be Answer B because all the other answers just sound silly
8 0
3 years ago
Read 2 more answers
Which of these is an exampleof output?
Ugo [173]

Answer:

b.

Explanation:

a mouse, fingerprint sensor, and keyboard are all input because we use these to put into into a computer where a beep of the microwave is output because it releases a sound or the sound goes out of the microwave.

8 0
3 years ago
Other questions:
  • A step commonly used for Internet vulnerability assessment includes __________, which occurs when the penetration test engine is
    9·1 answer
  • One of the earlier applications of crypto-graphic hash functions was the storage of passwords to authenticate usersin computer s
    13·1 answer
  • Bob received a message from Alice which she signed using a digital signature. Which key does Bob use to verify the signature?Gro
    13·1 answer
  • Copying and pasting from the internet can be done without citing the internet page, because everything on the internet is common
    13·1 answer
  • Structured walk-throughs take place throughout the SDLC and are called _____ reviews, depending on the phase in which they occur
    9·1 answer
  • As the demand for goods and services decreases, job growth.
    14·2 answers
  • Which of the following is a hardware component used to hold the BitLocker encryption key and ensures encrypted data is not acces
    5·1 answer
  • 97 points pleaseeee helpppp
    8·2 answers
  • Write a C program to insert and delete values from a stack(to perform pop and push operations) using an array data structure
    10·1 answer
  • Write a program that will make a copy of a text file, line by line. Read the name of the existing file and name of the new file(
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!