lab3 - MATLAB, DSP, Graphics Module No: CM0268 Laboratory...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
MATLAB, DSP, Graphics Module No: CM0268 Laboratory Worksheet 3: MATLAB Functions, Graphics and GUI Prof. D. Marshall, Dr. Y. Lai Aims and Objectives After working through this worksheet you should be familiar with: The basic operation of functions in MATLAB Create and use MATLAB m-files effectively Understand some basic MATLAB graphics functions The basic construction of Graphical User Interfaces in MATLAB How to call MATLAB Functions from a simple Graphical User Inter- face. None of the work here is part of the assessed coursework for this module 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
MATLAB Functions, Graphics and GUI MATLAB Functions and m-files For each of the below, create a function, store in an appropriate m-file and then call the function from MATLAB command line: 1. Write a function that takes in a integer n , computes the sum of the series 1 2 + 2 2 + 3 2 ... such that the sum is as large as possible with- out exceeding n . Up to two values can be returned, including the number of terms, and (optionally) the corresponding sum.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/24/2012 for the course CM 0268 taught by Professor Davidmarshall during the Winter '11 term at Cardiff University.

Page1 / 3

lab3 - MATLAB, DSP, Graphics Module No: CM0268 Laboratory...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online