ECE4390 Lab 2 (Fall 2015)
In this lab you will be working with C code to generate data and MATLAB to visualize it. First, make sure you have a C/C++ compiler installed. For example type in Terminal:
which gcc
If you have gcc compiler installed, a message appears showing the location to which it is installed
(e.g. /usr/bin/gcc). This means that you have the compiler and can start compiling codes.
If not, you will have to install a C/C++ compiler or use Lab machines.
The finite-difference solution of the Laplace equation using Jacobi Method is given. You can use the Matlab code (visualize.m) to view the generated data. Modify the given code to develop the following: