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)
timeColIndex = find(strcmp('Time', {catalog.field}));
if ~isempty(timeColIndex)

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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