Minimal Working - seems too good?!
This commit is contained in:
@@ -3,8 +3,8 @@ classdef Informationsignal < Signal
|
||||
% Detailed explanation goes here
|
||||
|
||||
properties
|
||||
nase
|
||||
lambda_nm
|
||||
|
||||
|
||||
end
|
||||
|
||||
methods
|
||||
@@ -15,11 +15,18 @@ classdef Informationsignal < Signal
|
||||
|
||||
end
|
||||
|
||||
function outputArg = method1(obj,inputArg)
|
||||
%METHOD1 Summary of this method goes here
|
||||
% Detailed explanation goes here
|
||||
outputArg = obj.Property1 + inputArg;
|
||||
function pow = power(obj)
|
||||
|
||||
pow = mean(abs(obj.signal),"all") ;
|
||||
|
||||
end
|
||||
|
||||
function obj = normalize(obj)
|
||||
|
||||
obj.signal = obj.signal/sqrt(mean(abs(obj.signal),"all"));
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user