UNSW ENGG1811 Lab 11: Matlab

Objectives
After completing this lab, students should be able to use the following features of Matlab:
• Writing a script
• Writing a user-defined function
• Using array: creating, indexing, elementwise operations, vectorisation,
• Performing some data analysis
Assessment
This lab has three parts: Parts A to C. You need to show your tutors all three parts.
For all the programs, we expect that you choose informative variable names and document your program.
There is also an online multiple choice question which is worth 1 mark. We suggest that you attempt this question after completing Parts A-C.
Organising your work
You should make a directory called lab11 to store your files for this lab.

阅读更多

C language Engineering Programming

Overview

For this assignment, you will be writing a program to play the card game Intensity.

The Rules of Intensity

Intensity is an unusual card game which is thought to have originated in post-WWII buffalo hunting camps in Australia’s Northern territory. The name intensity is thought to derive from numbers in groups of ten being important.

Cards 阅读更多

UNSW Python Assignment 2: Simulation and Design of Biofuel Production

Introduction

We often think bacteria are bad. The truth is that there are many different types of bacteria in this world. Some bacteria are harmful to humans but some bacteria in our bodies help us to live. Have you ever considered the possibility that bacteria can also be “factory workers”? Engineers and scientists are working on using bacteria to produce certain chemicals and materials. An example is to use bacteria to produce fuel for us. In engineering, we often want to optimise the process, so we may want to make the bacteria to produce as much fuel as possible in a given time. However, there are often constraints in nature. The truth is that fuel is toxic to bacteria, so we need to find a way for the bacteria to make a lot of fuel but at the same time keep them alive! This biofuel production process is the theme of this assignment.

阅读更多

ENGG1811 Lab 08: Simulation and its applications

ENGG1811 Lab 08: Simulation and its applications
Objectives
After completing this lab, students should be able to
Write Python scripts, functions and for-loop
Understand and use the following Python numpy package features: array, array indexing, max, min,
where
Gain a better understanding of simulation and how it can be used for design and decision making 阅读更多

UNSW 1811 ENGG

The pattern detection problem

In this assignment, your goal is to write a python program to determine whether a given pattern appears in a data series, and if so, where it is located in the data series. This type of problems is very common in many disciplines, including computer science, engineering, medicine and science. There are many different types of pattern detection problems, the setting of this assignment is similar to that used in radars.  A radar transmits a pulse of a specific shape and waits for a pulse of similar shape to return, in order to determine the position of an object. The method described below is known as matched filtering and is widely used in communication systems. This means your mobile phones perform the same type of calculations that you will be programming below!

Learning objectives

阅读更多