Code covered by the BSD License
-
Events and listeners
-
Test Handle class
-
Test Inherited Class
-
Test Simple Object
-
Test for Sensor Array Data Se...
-
Test for Sensor Array Data Se...
-
Data=gendata(Targets,NumSenso...
Generates the sensor sample data
-
[mags, fflip]=magfft(obj,zero...
MAGFFT Calculate the magnitude square of the FFT of the
-
angles=doa(obj)
DOA Estimate the direction of arrival of the sources in the
-
evCallback(src,evnt)
-
evDataCallback(src,evnt)
-
magfftplot(obj, zeroPadTo)
MAGFFTPLOT Plot the magnitude square of the FFT of the sensor array data
-
obj=steer(obj,theta)
Steer array electronically by angle theta, returning a new
-
plot(obj)
PLOT Plot the sensor array sample data set
-
showarray(Targets,NumSensors,...
SHOWARRAY Illustrate a sensor array with ideal sources
-
ev
-
handleImp.sads
Sensor Array Data Set Handle Class
-
inheritedImp.sadsT
-
sads
-
sads_simple
SADS_SIMPLE Sensor Data Set Class
-
valueImp.sads
Sensor Array Data Set Class
-
loadparameters.m
-
Test Handle class
-
View all files
from
What's New for Object-Oriented Programming in MATLAB Webinar - Code Examples
by Stuart McGarrity
Code examples used in "What's New for Object-Oriented Programming in MATLABĀ®" Webinar
|
| inheritedImp.sadsT |
classdef sadsT < valueImp.sads
% Sensor Array data set class with additional test run number
properties
TestRunNumber % Test run number
end
methods
function obj=sadsT(Data, Wavelength,SampleRate,Spacing,Name,TestRunNumber)
% Call super class constructor
obj@valueImp.sads(Data, Wavelength,SampleRate,Spacing,Name);
obj.TestRunNumber=TestRunNumber;
end
function plot(obj)
% PLOT Plot the sensor array sample data set
% Example:
% plot(ds);
plot@valueImp.sads(obj) % Call super class plot
title([obj.Name ', Test Run Number: ' int2str(obj.TestRunNumber)]);
end
end
end
|
|
Contact us at files@mathworks.com