Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

USING MATLAB PROGRAM 2 v A PO LOLA Picture Shapes Text Box Arrange T E Convert to SmartArt QI SI . Write a program that

image text in transcribed
image text in transcribed
USING MATLAB PROGRAM
2 v A PO LOLA Picture Shapes Text Box Arrange T E Convert to SmartArt QI SI . Write a program that takes 6 numbers from the keyboard, count the odd numbers, sum the odd numbers, count the even numbers and find their average. Please enter a number: 3 Please enter a number: 6 Please enter a number: 1 Please enter a number: 9 Please enter a number: 2 Please enter a number: 10 The number of the entered odd numbers is : 3 The number of the entered even numbers is : 3 The sum of odd numbers is : 13 The sum of even numbers is : 18 The average of odd number is :4.33 Shapes liv [] v Convert to SmartArt Box Write a MATLAB program that reads an integer N, and return squared up to the inputted number using a while loop Please enter a number N: 8 The squared numbers output is: 1^2= 1 2^2=4 3^2= 9 4^2= 16 5^2= 25 6^2= 36 7^2= 49 8^2= 64

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data Fundamentals Concepts, Drivers & Techniques

Authors: Thomas Erl, Wajid Khattak, Paul Buhler

1st Edition

0134291204, 9780134291208

More Books

Students also viewed these Databases questions

Question

Provide examples of KPIs in Human Capital Management.

Answered: 1 week ago

Question

What are OLAP Cubes?

Answered: 1 week ago