From 7c143300f0c5a34fa8c42a3d462c0fd113598fcf Mon Sep 17 00:00:00 2001 From: sakul-45 <81963567+sakul-45@users.noreply.github.com> Date: Fri, 9 Jul 2021 19:09:42 +0200 Subject: [PATCH] Added documentation --- normalize_data.m | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/normalize_data.m b/normalize_data.m index ddf40ae..8d1f4dc 100644 --- a/normalize_data.m +++ b/normalize_data.m @@ -1,6 +1,15 @@ -function [dataOUT] = normalise_data(dataIN) -%NORMALISE_DATA Summary of this function goes here -% Detailed explanation goes here +function [dataOUT] = normalize_data(dataIN) +%NORMALISE_DATA normalizes data by max of region +% +% Usage: [dataOUT] = NORMALISE_DATA(dataIN), where dataIN is a dataset +% loaded via the LOAD_MATLAB or LOAD_BRUKER function. +% +% The function will show the input data and offer two input fields, where +% the left and right borders of the maximum's region should be set. +% By pressing "Apply" the normalization will be executed and the graph +% changes to the normalized data. +% By pressing "Reset" the graph will return to show the original data. +% Exit the function by pressing "Done". %% creating UI fig = figure;