Question: Function definition and description Testing your removeNoise function To test your function, first get a set of radiation data by typing this into the Command
Function definition and description Testing your removeNoise function
To test your
function, first get a set of radiation data by typing this into the Command Window:
rad scanradiation
The function header and comments are provided for you in the file called removeNoisestarter.m Don't forget to remove starter from
the filename before you try to call this function.
function rad removeNoise rad, n
Removes noise from a matrix of radiation
values by applying an nxn mean filter three
times.
n: The size of the filter eg if n
use a x filter
rad: a matrix of numbers representing
the radiation measurements from
the scanner.
Testing your removeNoise function
To test your removeNoise function, first get a set of radiation data by typing this into the Command Window:
rad scanradiation;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
