Add licensing to matlab files

This commit is contained in:
Mieszko Makuch 2024-08-29 13:01:31 +02:00
parent 0894348bab
commit ee5a68f833
7 changed files with 36 additions and 3 deletions

View File

@ -1,3 +1,8 @@
%
% -----------------
% Copyright © 2022 ACK Cyfronet AGH, Poland.
% -----------------
%
function [sortedCatalog] = sortByTime(catalog) function [sortedCatalog] = sortByTime(catalog)
timeColIndex = find(strcmp('Time', {catalog.field})); timeColIndex = find(strcmp('Time', {catalog.field}));
if ~isempty(timeColIndex) if ~isempty(timeColIndex)

View File

@ -1,3 +1,8 @@
%
% -----------------
% Copyright © 2022 ACK Cyfronet AGH, Poland.
% -----------------
%
function km = deg2km(deg) function km = deg2km(deg)
%DEG2KM Convert distance from degrees to kilometers %DEG2KM Convert distance from degrees to kilometers
% %

View File

@ -1,3 +1,8 @@
%
% -----------------
% Copyright © 2022 ACK Cyfronet AGH, Poland.
% -----------------
%
function angleInRadians = deg2rad(angleInDegrees) function angleInRadians = deg2rad(angleInDegrees)
% DEG2RAD Convert angles from degrees to radians % DEG2RAD Convert angles from degrees to radians
% %

View File

@ -1,3 +1,8 @@
%
% -----------------
% Copyright © 2022 ACK Cyfronet AGH, Poland.
% -----------------
%
function deg = km2deg(km) function deg = km2deg(km)
%KM2DEG Convert distance from kilometers to degrees %KM2DEG Convert distance from kilometers to degrees
% %

View File

@ -1,3 +1,8 @@
%
% -----------------
% Copyright © 2022 ACK Cyfronet AGH, Poland.
% -----------------
%
function angleInDegrees = rad2deg(angleInRadians) function angleInDegrees = rad2deg(angleInRadians)
% RAD2DEG Convert angles from radians to degrees % RAD2DEG Convert angles from radians to degrees
% %

View File

@ -1,3 +1,8 @@
%
% -----------------
% Copyright © 2022 ACK Cyfronet AGH, Poland.
% -----------------
%
function s = second(d,f) function s = second(d,f)
%SECOND Seconds of date or time. %SECOND Seconds of date or time.
% S = SECOND(D) returns the seconds given a serial date number or a % S = SECOND(D) returns the seconds given a serial date number or a

View File

@ -1,7 +1,10 @@
%
% -----------------
% Copyright © 2022 ACK Cyfronet AGH, Poland.
% -----------------
%
function [wc]=wavecut(wf,startp,endp) function [wc]=wavecut(wf,startp,endp)
wc=wf(round(startp):round(endp)); wc=wf(round(startp):round(endp));
end end