logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Jackson MitchellComputer science
(4/5)

941 Answers

Hire Me
expert
Jarrod AlongeHistory
(5/5)

853 Answers

Hire Me
expert
rajat mehtaFinance
(/5)

791 Answers

Hire Me
expert
Malachi StoneStatistics
(5/5)

821 Answers

Hire Me
MATLAB
(5/5)

The main goal of this assignment is to simulate a living system of predators-preys

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

1 Introduction

The main goal of this assignment is to simulate a living system of predators-preys and its evolution according to a simplified set of rules of death and survival. The living system is represented by the following elements:

A square grid of cells (represented in a MATLAB environment as a 2D array).

A representations in each square for the prey, predator, and bare ground (represented in a MATLAB environment with a numerical encoding).

A set of rules that each square will obey designed to imitate the behaviour of the prey, predator, or bare ground (represented in a MATLAB environment with a set of conditional statements).

 

2 Problem description

The living system is represented as a 2D array of any size, predators, prey and bare ground have the following encoding

Predator → 2

Prey → 1

Bare Ground → 0

 

 

 

This is for example a 6x6 living system with 8 preys and 2 predators

 

2    0    0    1    0    0

0    1    1    0    0    0

0    0    0    0    1    0

0    0    0    0    1    0

0    0    2    1    0    0

0    0    1    1    0    0

 

Each cell has 8 surrounding cells. For example the surrounding cells of the cell at position (2,2), that represents a prey, are the one highlighted in red

 

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme