Define statements to define the constants, C/C++ Programming

Assignment Help:

the problem description.

The order of the C Program should be as follows:

Variables and constants

  • Use #define statements to define the constants.
  • Use arrays to store the data, median values, median map and counts.

Read Data

  • Read each individual data item from the file using an appropriate method into a two dimensional array.
  • Close the file when finished.

Median

  • Calculate and store the median for each row and column.
  • Determine and store the values for the Median Map.
  • Calculate the counts for each row and column in the Median Map where the value is 1, 0 or -1.
  • Display the Median Map and counts.

 PART D - MATLAB

Using an appropriate MatLab syntax, write the code required to analyse and display the data as per the problem description.

The order of the MatLab Program should be as follows:

Variables and constants

  • Use two dimensional arrays to store the data, medians and maps.

Read Data

  • Read each individual data item from the file using an appropriate method into a two dimensional array.
  • Close the file when finished.

Median

  • Calculate and store the median for each row and column for an unknown number of rows and columns.
  • Determine and store the values for the Median Map.
  • Calculate the counts for each row and column for the values 1, 0  and -1
  • Display the Median Map and counts.

Related Discussions:- Define statements to define the constants

Basics, conceptual difference between big o,big thete and big omega

conceptual difference between big o,big thete and big omega

Luminous Jewels - The Polishing Game, Byteland county is very famous for lu...

Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec

Refactoring, Refactoring Project Description: TASK 1 - DESIGN ALGORIT...

Refactoring Project Description: TASK 1 - DESIGN ALGORITHM You are required to design a suitable solution algorithm by using structured chart, pseudocode or flowchart. Thi

Create a software application, Project Description: Currently seeking so...

Project Description: Currently seeking someone who can create me a software application (google chrome crx file_ that will auto add all shoe sizes to cart directly and if not av

Data structure, Project Description: Project is related indexing data re...

Project Description: Project is related indexing data related some data structure. I need to share all information related project later if i contact any body Skills required

Algorithms, Ask question #Minimum 100 write an algorithm to calculate simpl...

Ask question #Minimum 100 write an algorithm to calculate simple interest and compound interestwords accepted#

Matlab to c conversion, i am a engineering student and am working on a proj...

i am a engineering student and am working on a project in audio processing and so i have designed a FIR filter in Matlab . how can i get my Matlab program converted to C program?

Program to calculate pie, This problem familiarizes you with using random n...

This problem familiarizes you with using random numbers in C++. The program is to compute a good approximation of p using a simulation method called "Monte Carlo". The following fi

Decision control instruction, if age of ram,shayam and ajay are input throu...

if age of ram,shayam and ajay are input through keyboard,write a program to determine the youngest of the three.

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd