实验一
实验题目
Matlab Exercises and Image Fundamentals
-
Matlab exercises.
a) Create a matrix A, any size and shape you want, and fill it with arbitrary values.
ComputeATA
and
AAT
. The results should be square, symmetric matrices.
b) Write a Matlab program to produce the first 30 Fibonacci numbers.
- It is often useful to generate a synthetic image with known properties that can be used
to test algorithms. Generate an image composed of two concentric circles as shown
below. The inner circle should have a radius of 50 pixels and a mean value of 192.
The outer circle should have a radius of 100 pixels and a mean value of 128. The
background should have a mean value of 64. Add uniform random noise to each pixel
in the range -16 … +16 (see Matlab’s rand function). Save the image in “tif” format,
and make sure the saved image looks correct. Turn in the Matlab program and the
image that you generated.
(Hint: recall the equation of a circle: x^2 + y^2 = r^2. These are the points on the
circle border; to represent points inside the circle, you would you use an inequality.)
实验目的
本实验的目的是通过Matlab编程和图像基础知识,进行实验练习。
实验分析