28 lines
526 B
Matlab
28 lines
526 B
Matlab
classdef Informationsignal < Signal
|
|
%OPTICALSIGNAL Summary of this class goes here
|
|
% Detailed explanation goes here
|
|
|
|
properties
|
|
|
|
|
|
end
|
|
|
|
methods
|
|
function obj = Informationsignal(signal)
|
|
%OPTICALSIGNAL Construct an instance of this class
|
|
% Detailed explanation goes here
|
|
obj = obj@Signal(signal);
|
|
|
|
end
|
|
|
|
function pow = power(obj)
|
|
|
|
pow = mean(abs(obj.signal),"all") ;
|
|
|
|
end
|
|
|
|
|
|
end
|
|
end
|
|
|