plateform stringclasses 1
value | repo_name stringlengths 13 113 | name stringlengths 3 74 | ext stringclasses 1
value | path stringlengths 12 229 | size int64 23 843k | source_encoding stringclasses 9
values | md5 stringlengths 32 32 | text stringlengths 23 843k |
|---|---|---|---|---|---|---|---|---|
github | gremau/NMEG_FluxProc-master | TX_site_known_calibrations.m | .m | NMEG_FluxProc-master/deprecated_code/TX_site_known_calibrations.m | 2,524 | utf_8 | e5b0d4dd5a64adcb997f958794824541 | function known = TX_site_known_calibrations( date )
% TX_SITE_KNOWN_CALIBRATIONS - returns true if input date corresponds to a known
% calibration at the TX site, false otherwise
%
% USAGE
% known = TX_site_known_calibrations( date );
%
% INPUTS:
% date: matlab serial datenumber; specifies the date to check
%
%... |
github | gremau/NMEG_FluxProc-master | UNM_30min_flux_processor_MFedit.m | .m | NMEG_FluxProc-master/deprecated_code/UNM_30min_flux_processor_MFedit.m | 36,080 | utf_8 | 5df6b0545f9c6fb6cf504e9bc615b114 | %Program to read 30-min data in from flux_all files, make corrections, and
%write the corrected fluxes back to the flux_all files. This is used only
%when the ts data are not available for time periods but the 30-min data
%are
%Written by John DeLong summer 2008
% Edited by Mike Fuller, July 2011
% This version was ... |
github | gremau/NMEG_FluxProc-master | UNM_30min_flux_processor_062909.m | .m | NMEG_FluxProc-master/deprecated_code/UNM_30min_flux_processor_062909.m | 24,581 | utf_8 | 91e113fbdf1e9a2677763c9287894c57 | %Program to read 30-min data in from flux_all files, make corrections, and
%write the corrected fluxes back to the flux_all files. This is used only
%when the ts data are not available for time periods but the 30-min data
%are
%Written by John DeLong summer 2008
function [] = UNM_30min_flux_processor(sitecode,year,f... |
github | gremau/NMEG_FluxProc-master | UNM_RemoveBadData_pre2012.m | .m | NMEG_FluxProc-master/deprecated_code/UNM_RemoveBadData_pre2012.m | 76,369 | utf_8 | f3b046ff3aa47ceedc2f424063b1c0a2 | function [] = UNM_RemoveBadData_pre2012( sitecode, year, varargin )
% UNM_REMOVEBADDATA - remove bogus observations from UNM flux data and write
% filtered data to delimited ASCII files FOR SITE-YEARS 2011 AND EARLIER.
%
%This program was created by Krista Anderson Teixeira in July 2007
% Modified by John DeLong 2008 ... |
github | gremau/NMEG_FluxProc-master | UNM_30min_flux_processor_Tim.m | .m | NMEG_FluxProc-master/deprecated_code/UNM_30min_flux_processor_Tim.m | 37,613 | utf_8 | 37b81f340c0f4f484c49f28ef11ce9e9 | %Program to read 30-min data in from flux_all files, make corrections, and
%write the corrected fluxes back to the flux_all files. This is used only
%when the ts data are not available for time periods but the 30-min data
%are
%Written by John DeLong summer 2008
% Edited by Mike Fuller, July 2011
% This version was ... |
github | gremau/NMEG_FluxProc-master | UNM_RemoveBadData_pre2012_txt.m | .m | NMEG_FluxProc-master/deprecated_code/UNM_RemoveBadData_pre2012_txt.m | 105,363 | utf_8 | 168aecf0e90a98e31d73c89c50bccabc | % This program was created by Krista Anderson Teixeira in July 2007
% Modified by John DeLong 2008 through 2009.
% Modifed by Timothy W. Hilton, 2011 through 2013
%
% The program reads site_fluxall_year excel files and pulls in a
% combination of matlab processed ts data and data logged average 30-min
% flux data. It ... |
github | gremau/NMEG_FluxProc-master | UNM_parse_fluxall_xls_file.m | .m | NMEG_FluxProc-master/deprecated_code/UNM_parse_fluxall_xls_file.m | 5,624 | utf_8 | e5cd9c1a20f39b89e24d37e83bc2c6b8 | function T = UNM_parse_fluxall_xls_file( sitecode, year, varargin )
% UNM_PARSE_FLUXALL_XLS_FILE - parse fluxall data and timestamps from
% Excel spreadsheet file to matlab dataset.
%
% T = UNM_parse_fluxall_xls_file( sitecode, year )
% T = UNM_parse_fluxall_xls_file( sitecode, year, 'file', file )
%
% INPUTS
% s... |
github | gremau/NMEG_FluxProc-master | replace_hex_chars.m | .m | NMEG_FluxProc-master/m_utils/replace_hex_chars.m | 1,499 | utf_8 | 43dedb57eff4857bb2fecff13fd75705 | function str_out = replace_hex_chars( str_in )
% REPLACE_HEX_CHARS - replace hexadecimal representations of characters '(',
% ')', ',', '.' with characters that are legal in matlab variable names
%
% USAGE
% str_out = replace_hex_chars( str_in )
%
% INPUTS
% str_in: string or cell array of strings
%
% OUTPUTS... |
github | gremau/NMEG_FluxProc-master | fix_20Aug2012_PPine_card_data.m | .m | NMEG_FluxProc-master/m_utils/fix_20Aug2012_PPine_card_data.m | 3,092 | utf_8 | 4c7c978ddb5706b876c77ba4eed6ad9b | function [ toa5_data, tob1_data ] = fix_20Aug2012_PPine_card_data( )
% FIX_20AUG2012_PPINE_CARD_DATA - correct problems in Aug 2012 PPine data.
%
toa5_data_dir = fullfile( get_site_directory( UNM_sites.PPine ), ...
'toa5', 'TOA5_PPine_2012_08_20_0000' );
toa5_fname = fullfile( toa5_data_d... |
github | gremau/NMEG_FluxProc-master | fluxraw_table_viewer.m | .m | NMEG_FluxProc-master/retrieve_card_data/fluxraw_table_viewer.m | 6,757 | utf_8 | 7d9b308c45e3a6bb5408f2acc8cad791 | function fh = fluxraw_table_viewer( tbl, this_site, mod_date )
%FLUXRAW_TABLE_VIEWER -- graphical user interface to view TOA5 files
%containing 30-minute datalogger data.
%
% This is intended for use during card conversion for a quick visual
%inspection to identify problems with instruments or the datalogger.
%Prov... |
github | gremau/NMEG_FluxProc-master | freezeColors.m | .m | NMEG_FluxProc-master/m_exchange_utils/freezeColors.m | 9,815 | utf_8 | 2068d7a4f7a74d251e2519c4c5c1c171 | function freezeColors(varargin)
% freezeColors Lock colors of plot, enabling multiple colormaps per figure. (v2.3)
%
% Problem: There is only one colormap per figure. This function provides
% an easy solution when plots using different colomaps are desired
% in the same figure.
%
% freezeColors freeze... |
github | gremau/NMEG_FluxProc-master | setDateAxes.m | .m | NMEG_FluxProc-master/m_exchange_utils/setDateAxes.m | 3,624 | utf_8 | 4d92b5b2faeb5b03ab9fe9ff2babde87 | function varargout = setDateAxes(varargin)
% setDateAxes is a convenience function that allows you to programmatically
% set properties of axes that contain dates and automatically update the
% date ticks. This function should be used in lieu of SET for date axes.
%
% This function is intended to be used after an initi... |
github | gremau/NMEG_FluxProc-master | SolarAzEl.m | .m | NMEG_FluxProc-master/m_exchange_utils/SolarAzEl.m | 3,852 | utf_8 | 9daf427f03fd7395e95171845a7e1f75 | function [Az El] = SolarAzEl(UTC,Lat,Lon,Alt)
% Programed by Darin C. Koblick 2/17/2009
%
% External Function Call Sequence:
%[Az El] = SolarAzEl(serial_date_number)
%
% Function Description:
% SolarAzEl will ingest a Universal Time, and specific site location on earth
% it will then output the solar Azimuth and Elevat... |
github | gremau/NMEG_FluxProc-master | supsmu.m | .m | NMEG_FluxProc-master/m_exchange_utils/supsmu.m | 13,139 | utf_8 | 22968054a930772f8da1649d131fcc6c | function smo = supsmu(x,y,varargin)
%supsmu: Smoothing of scatterplots using Friedman's supersmoother algorithm.
%
% Syntax:
% Y_SMOOTH = supsmu(X,Y,'PropertyName',PropertyValue,...)
%
% Inputs:
% X, Y are same-length vectors.
%
% Output
% Y_SMOOTH is a smoothed version of Y.
%
% Example,
% x = linspace(0,1,201... |
github | gremau/NMEG_FluxProc-master | pdftops.m | .m | NMEG_FluxProc-master/m_exchange_utils/altmany-export_fig-76bd7fa/pdftops.m | 5,378 | utf_8 | d6a8dd5f4835eac6ae64a5e70508336d | function varargout = pdftops(cmd)
%PDFTOPS Calls a local pdftops executable with the input command
%
% Example:
% [status result] = pdftops(cmd)
%
% Attempts to locate a pdftops executable, finally asking the user to
% specify the directory pdftops was installed into. The resulting path is
% stored for future refere... |
github | gremau/NMEG_FluxProc-master | crop_borders.m | .m | NMEG_FluxProc-master/m_exchange_utils/altmany-export_fig-76bd7fa/crop_borders.m | 4,703 | utf_8 | 918d1b232ba972d5dcfd0784147e6516 | function [A, vA, vB, bb_rel] = crop_borders(A, bcol, padding, crop_amounts)
%CROP_BORDERS Crop the borders of an image or stack of images
%
% [B, vA, vB, bb_rel] = crop_borders(A, bcol, [padding])
%
%IN:
% A - HxWxCxN stack of images.
% bcol - Cx1 background colour vector.
% padding - scalar indicating how much... |
github | gremau/NMEG_FluxProc-master | isolate_axes.m | .m | NMEG_FluxProc-master/m_exchange_utils/altmany-export_fig-76bd7fa/isolate_axes.m | 4,721 | utf_8 | 253cd7b7d8fc7cb00d0cc55926f32de5 | function fh = isolate_axes(ah, vis)
%ISOLATE_AXES Isolate the specified axes in a figure on their own
%
% Examples:
% fh = isolate_axes(ah)
% fh = isolate_axes(ah, vis)
%
% This function will create a new figure containing the axes/uipanels
% specified, and also their associated legends and colorbars. The objects
%... |
github | gremau/NMEG_FluxProc-master | im2gif.m | .m | NMEG_FluxProc-master/m_exchange_utils/altmany-export_fig-76bd7fa/im2gif.m | 6,048 | utf_8 | 5a7437140f8d013158a195de1e372737 | %IM2GIF Convert a multiframe image to an animated GIF file
%
% Examples:
% im2gif infile
% im2gif infile outfile
% im2gif(A, outfile)
% im2gif(..., '-nocrop')
% im2gif(..., '-nodither')
% im2gif(..., '-ncolors', n)
% im2gif(..., '-loops', n)
% im2gif(..., '-delay', n)
%
% This function converts a mu... |
github | gremau/NMEG_FluxProc-master | read_write_entire_textfile.m | .m | NMEG_FluxProc-master/m_exchange_utils/altmany-export_fig-76bd7fa/read_write_entire_textfile.m | 924 | utf_8 | 779e56972f5d9778c40dee98ddbd677e | %READ_WRITE_ENTIRE_TEXTFILE Read or write a whole text file to/from memory
%
% Read or write an entire text file to/from memory, without leaving the
% file open if an error occurs.
%
% Reading:
% fstrm = read_write_entire_textfile(fname)
% Writing:
% read_write_entire_textfile(fname, fstrm)
%
%IN:
% fname - Pathn... |
github | gremau/NMEG_FluxProc-master | pdf2eps.m | .m | NMEG_FluxProc-master/m_exchange_utils/altmany-export_fig-76bd7fa/pdf2eps.m | 1,471 | utf_8 | a1f41f0c7713c73886a2323e53ed982b | %PDF2EPS Convert a pdf file to eps format using pdftops
%
% Examples:
% pdf2eps source dest
%
% This function converts a pdf file to eps format.
%
% This function requires that you have pdftops, from the Xpdf suite of
% functions, installed on your system. This can be downloaded from:
% http://www.foolabs.com/xpdf ... |
github | gremau/NMEG_FluxProc-master | print2array.m | .m | NMEG_FluxProc-master/m_exchange_utils/altmany-export_fig-76bd7fa/print2array.m | 9,369 | utf_8 | ca18a1e6c5a944b591a0557bd69f1c2c | function [A, bcol] = print2array(fig, res, renderer, gs_options)
%PRINT2ARRAY Exports a figure to an image array
%
% Examples:
% A = print2array
% A = print2array(figure_handle)
% A = print2array(figure_handle, resolution)
% A = print2array(figure_handle, resolution, renderer)
% A = print2array(figure_handle... |
github | gremau/NMEG_FluxProc-master | append_pdfs.m | .m | NMEG_FluxProc-master/m_exchange_utils/altmany-export_fig-76bd7fa/append_pdfs.m | 2,678 | utf_8 | 949c7c4ec3f5af6ff23099f17b1dfd79 | %APPEND_PDFS Appends/concatenates multiple PDF files
%
% Example:
% append_pdfs(output, input1, input2, ...)
% append_pdfs(output, input_list{:})
% append_pdfs test.pdf temp1.pdf temp2.pdf
%
% This function appends multiple PDF files to an existing PDF file, or
% concatenates them into a PDF file if the output fi... |
github | gremau/NMEG_FluxProc-master | using_hg2.m | .m | NMEG_FluxProc-master/m_exchange_utils/altmany-export_fig-76bd7fa/using_hg2.m | 1,064 | utf_8 | a1883d15c4304cd0ac406c117e3047ea | %USING_HG2 Determine if the HG2 graphics engine is used
%
% tf = using_hg2(fig)
%
%IN:
% fig - handle to the figure in question.
%
%OUT:
% tf - boolean indicating whether the HG2 graphics engine is being used
% (true) or not (false).
% 19/06/2015 - Suppress warning in R2015b; cache result for improved per... |
github | gremau/NMEG_FluxProc-master | eps2pdf.m | .m | NMEG_FluxProc-master/m_exchange_utils/altmany-export_fig-76bd7fa/eps2pdf.m | 8,435 | utf_8 | 95432e4216ee24df69e7e5720c6c4039 | function eps2pdf(source, dest, crop, append, gray, quality, gs_options)
%EPS2PDF Convert an eps file to pdf format using ghostscript
%
% Examples:
% eps2pdf source dest
% eps2pdf(source, dest, crop)
% eps2pdf(source, dest, crop, append)
% eps2pdf(source, dest, crop, append, gray)
% eps2pdf(source, dest, crop... |
github | gremau/NMEG_FluxProc-master | ghostscript.m | .m | NMEG_FluxProc-master/m_exchange_utils/altmany-export_fig-76bd7fa/ghostscript.m | 7,706 | utf_8 | 92dbafb8d4fb243cae8716c6ecb0bbe5 | function varargout = ghostscript(cmd)
%GHOSTSCRIPT Calls a local GhostScript executable with the input command
%
% Example:
% [status result] = ghostscript(cmd)
%
% Attempts to locate a ghostscript executable, finally asking the user to
% specify the directory ghostcript was installed into. The resulting path
% is s... |
github | gremau/NMEG_FluxProc-master | fix_lines.m | .m | NMEG_FluxProc-master/m_exchange_utils/altmany-export_fig-76bd7fa/fix_lines.m | 6,290 | utf_8 | 8437006b104957762090e3d875688cb6 | %FIX_LINES Improves the line style of eps files generated by print
%
% Examples:
% fix_lines fname
% fix_lines fname fname2
% fstrm_out = fixlines(fstrm_in)
%
% This function improves the style of lines in eps files generated by
% MATLAB's print function, making them more similar to those seen on
% screen. Grid ... |
github | gremau/NMEG_FluxProc-master | mergeimports.m | .m | NMEG_FluxProc-master/m_exchange_utils/YAMLMatlab_0.4.3/mergeimports.m | 5,211 | utf_8 | 4da2dd097dd2a6bc8760a552a3772599 | %==========================================================================
% Walks through a tree structure data. Whenever it finds a structure, which
% have field named 'import' it assumes that in that field is a cell array
% and merges all structures found in that array. Parameter verb is used for
% debugging purpos... |
github | gremau/NMEG_FluxProc-master | ReadYamlRaw.m | .m | NMEG_FluxProc-master/m_exchange_utils/YAMLMatlab_0.4.3/ReadYamlRaw.m | 7,855 | utf_8 | 08547bee9155d85872d5c3aa02188c11 | %==========================================================================
% Reads YAML file, converts YAML sequences to MATLAB cell columns and YAML
% mappings to MATLAB structs
%
% filename ... name of yaml file to be imported
% verbose ... verbosity level (0 or absent = no messages,
% ... |
github | gremau/NMEG_FluxProc-master | makematrices.m | .m | NMEG_FluxProc-master/m_exchange_utils/YAMLMatlab_0.4.3/makematrices.m | 5,620 | utf_8 | 91bb9555a9c43e067d55d8a19d77d345 | %==========================================================================
% Recursively walks through a Matlab hierarchy and substitutes cell vectors
% by a matrix when possible.
% Specifically substitutes cell objects like
%
% {{1,2,3},{4,5,6}}
%
% by
%
% {1,2,3;4,5,6}
%
% It leaves other objects unchanged e... |
github | gremau/NMEG_FluxProc-master | deflateimports.m | .m | NMEG_FluxProc-master/m_exchange_utils/YAMLMatlab_0.4.3/deflateimports.m | 1,778 | utf_8 | e53673892cee46273e1d082ce414e2eb | %==========================================================================
% Transforms structures:
% - import: A, B
% - import: C
% - import: D, E, F
%
% into:
% - import: A, B, C, D, F, F
%
%==========================================================================
function result = deflateimports(r)
res... |
github | gremau/NMEG_FluxProc-master | dosubstitution.m | .m | NMEG_FluxProc-master/m_exchange_utils/YAMLMatlab_0.4.3/dosubstitution.m | 1,049 | utf_8 | e636b95c55cfbd365bef23bf26cca2e9 | %==========================================================================
%==========================================================================
function result = dosubstitution(r, dictionary)
if ~exist('dictionary','var')
dictionary = {};
end;
result = recurse(r, 0, dictionary);
end
functi... |
github | gremau/NMEG_FluxProc-master | merge_struct.m | .m | NMEG_FluxProc-master/m_exchange_utils/YAMLMatlab_0.4.3/merge_struct.m | 1,324 | utf_8 | 598e80779e8f9b41cc46b4e653cf9c64 |
%--------------------------------------------------------------------------
% Does merge of two structures. The result is structure which is union of
% fields of p and s. If there are equal field names in p and s, fields in p
% are overwriten with their peers from s.
%
function result = merge_struct(p, s, donotmerge, ... |
github | gremau/NMEG_FluxProc-master | datadump.m | .m | NMEG_FluxProc-master/m_exchange_utils/YAMLMatlab_0.4.3/datadump.m | 1,033 | utf_8 | 494cf2ee060b8fc4ea99610e7e8b6361 | function datadump(data)
recurse(data, 0, []);
end
function result = recurse(data, level, addit)
indent = repmat(' | ',1,level);
if iscell(data) && ~ismymatrix(data)
result = iter_cell(data, level, addit);
elseif isstruct(data)
result = iter_struct(data, level, addit);
else
f... |
github | gremau/NMEG_FluxProc-master | ReadYaml.m | .m | NMEG_FluxProc-master/m_exchange_utils/YAMLMatlab_0.4.3/ReadYaml.m | 2,715 | utf_8 | c00de4a18624e5153181627c94f6d3c3 | %==========================================================================
% Actually reads YAML file and transforms it using several mechanisms:
%
% - Transforms mappings and lists into Matlab structs and cell arrays,
% for timestamps uses DateTime class, performs all imports (when it
% finds a struct field... |
github | gremau/NMEG_FluxProc-master | doinheritance.m | .m | NMEG_FluxProc-master/m_exchange_utils/YAMLMatlab_0.4.3/doinheritance.m | 3,174 | utf_8 | 2a6bc392a640f0b1c1388ddc7032b751 | %==========================================================================
% Searches through some hierarchy and performs inheritance. Whenever finds
% struct field named 'parent' it tries to find all points, defined by its
% content and uses them as the struct ancestors. Example:
%
% Given:
%
% s.a.a = 1
% s.a.b ... |
github | gremau/NMEG_FluxProc-master | WriteYaml.m | .m | NMEG_FluxProc-master/m_exchange_utils/YAMLMatlab_0.4.3/WriteYaml.m | 6,739 | utf_8 | 7457702c6232fc6ccb7c1304975670f7 | %==========================================================================
% Recursively walks through a Matlab hierarchy and converts it to the
% hierarchy of java.util.ArrayListS and java.util.MapS. Then calls
% Snakeyaml to write it to a file.
%=======================================================================... |
github | gremau/NMEG_FluxProc-master | selftest_yamlmatlab.m | .m | NMEG_FluxProc-master/m_exchange_utils/YAMLMatlab_0.4.3/Tests/selftest_yamlmatlab.m | 2,954 | utf_8 | 4b0ea27db95878c651e0c46855f39e18 | function selftest_yamlmatlab(varargin)
% This function tests consistency of YAMLMatlab, by default, the results
% are stored in selftest_report.html in current work folder.
% Example
% >> selftest_yamlmatlab()
% >> selftest_yamlmatlab(outFileName)
%
% %=================================================================... |
github | gremau/NMEG_FluxProc-master | test_ReadYaml.m | .m | NMEG_FluxProc-master/m_exchange_utils/YAMLMatlab_0.4.3/Tests/test_ReadYaml.m | 8,883 | utf_8 | 1647e455763d95a6c10948a007741f02 | function stat = test_ReadYaml()
% this function tests reading in the yaml file
stat.ok = 1;
stat.desc = '';
try
%stat.test_ReadYaml_SimpleStructure = test_ReadYaml_SimpleStructure();
%stat.test_ReadYaml_DateTime = test_ReadYaml_DateTime();
fprintf('Testing read ');
stat.test_RY_Matrices = test_RY_... |
github | gremau/NMEG_FluxProc-master | test_WriteYaml.m | .m | NMEG_FluxProc-master/m_exchange_utils/YAMLMatlab_0.4.3/Tests/test_WriteYaml.m | 1,745 | utf_8 | de37cbde8a33d40a7b1f05ef8e7f16cf | function stat = test_WriteYaml()
stat.ok = 1;
stat.desc = '';
try
fprintf('Testing write ');
stat.test_WY_Matrices = test_WY_Universal(PTH_PRIMITIVES(), 'matrices');
fprintf('.');
stat.test_WY_FloatingPoints = test_WY_Universal(PTH_PRIMITIVES(), 'floating_points');
fprintf('.');
stat.test_WY_In... |
github | gremau/NMEG_FluxProc-master | table_viewer.m | .m | NMEG_FluxProc-master/plots/table_viewer.m | 5,252 | utf_8 | 578b15f822272a36e7dbfe4f114246fd | function fh = dataset_viewer( ds, varargin )
% dataset_viewer -- a graphical user interface to view variables from a dataset
% array column by column.
%
% USAGE
% fh = datasetviewer( ds )
% fh = datasetviewer( ds, 't_var', 'timestamp_variable' )
%
% INPUTS:
% ds: variable of class dataset array
% KEYWO... |
github | gremau/NMEG_FluxProc-master | plot_CZO_figure.m | .m | NMEG_FluxProc-master/plots/plot_CZO_figure.m | 12,380 | utf_8 | 8753d36b3e4f9341a089566a9c144a57 | function hf = plot_CZO_figure( sitecode, years, varargin )
% PLOT_CZO_FIGURE - produces a four-panel summary plot of monthly data for a
% specifed site.
%
% Produces a four-panel plot showing monthly integrated NEE
% bar plot (top panel), monthly integrated GPP and RE bar plots (second panel)
% panel), monthly evapotra... |
github | gremau/NMEG_FluxProc-master | plots_for_PJgirdle_report_2009_2013.m | .m | NMEG_FluxProc-master/plots/plots_for_PJgirdle_report_2009_2013.m | 8,818 | utf_8 | 326f593884d8e23e8919eeb2ce005762 | function plots_for_PJgirdle_report_2009_2013()
% PLOTS_FOR_PJGIRDLE_REPORT_15OCT2012 - create a series of plots for Marcy's
% PJ/PJ girdle report of 31 Dec 2013.
%
% Creates one plot each for cumulative NEE, GPP, and RE. Each plot shows the
% fluxes from PJ, PJ_girdle, and JSav alongside one another. The fluxes ar... |
github | gremau/NMEG_FluxProc-master | dataset_viewer.m | .m | NMEG_FluxProc-master/plots/dataset_viewer.m | 5,240 | utf_8 | 28b7a7c45513bf2375f8ca4c3413d46d | function fh = dataset_viewer( ds, varargin )
% dataset_viewer -- a graphical user interface to view variables from a dataset
% array column by column.
%
% USAGE
% fh = datasetviewer( ds )
% fh = datasetviewer( ds, 't_var', 'timestamp_variable' )
%
% INPUTS:
% ds: variable of class dataset array
% KEYWO... |
github | lu6007/odesys-master | error_function.m | .m | odesys-master/app/egf/error_function.m | 469 | utf_8 | 0dfd1bd79f9327823be73213068af279 | % function error = error_function(time, y, y_hat)
% Calculate the L2 distance between y and y_hat normalized over time
function error = error_function(time, y, y_hat)
dist2 = (y - y_hat).^2; % both are column vectors
delta_t = diff(time);
num_point = length(delta_t);
% The area of the error function in unit nM.
% norm... |
github | lu6007/odesys-master | prepare.m | .m | odesys-master/app/egf/prepare.m | 9,599 | utf_8 | d5bd1569423ab12a9bec96061c69fbed | % function data = prepare(exp_tye)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% File Name: prepare.m
% Author: Tongkai Li
% mail: ltk@pku.edu.cn
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This script is used to load data and initiate parameter.
function data = prepare(exp_t... |
github | lu6007/odesys-master | rhs_2.m | .m | odesys-master/app/egf/rhs_2.m | 2,282 | utf_8 | dec3a4271d65e50a8aa3a2c56b637166 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% File Name: rhs_2.m
% Author: Tongkai Li
% mail: ltk@pku.edu.cn
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [f] = rhs_2(t, x, theta)
% rhs:
% rhs(t, x, theta) is the right hand side of the ODE dx/dt=f(t, x, theta),
% inclu... |
github | lu6007/odesys-master | Error_ODE2EXP.m | .m | odesys-master/app/egf/Error_ODE2EXP.m | 897 | utf_8 | ac53bb5632ea76c9005a2537c0a0a6d2 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% File Name: Error_ODE2EXP.m
% Author: Tongkai Li
% mail: ltk@pku.edu.cn
% Created Time: 2018年07月17日 星期二 20时51分46秒
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function ret=Error_ODE2EXP(result,texp,yexp)
%Error_ODE2EXP: Error between... |
github | lu6007/odesys-master | fyn_gf_model.m | .m | odesys-master/app/opt/fyn_gf_model.m | 2,082 | utf_8 | 411b3603d22f6c8bddc7602b4ce066ab | % A standard optimization model function
% function model_obj = fyn_gf_model(model_name, varargin)
% para_name = {'multiple_output', 'best_fit', 'verbose', 'fyn_endo'};
% default_value = {0, 1, 1, 0};
% Authors: Shaoying Kathy Lu (shaoying.lu@gmail.com);
function model_obj = fyn_gf_model(model_name, varargin... |
github | lu6007/odesys-master | simple_ode_model.m | .m | odesys-master/app/opt/simple_ode_model.m | 2,567 | utf_8 | a271d2400f44971ea7c43d269a9e7c45 | % The optmization objective and constraint function for the simple ODE
% 'egfr_huang_v3'
% This is an optimization model for the simple ode defined by
% the functions fyn_gf_rhs() and fyn_gf_init_data('egfr_huang_v3')
function model_obj = simple_ode_model(model_name, varargin)
global optimize_ode_utility_fh;
... |
github | lu6007/odesys-master | opt_model_1118.m | .m | odesys-master/app/opt/opt_model_1118.m | 7,893 | utf_8 | f941e79516611a56ec4b7aa69cea8ba8 | % A standard model function
% function model = opt_model_1118(model_name, varargin)
% para_name = {'verbose', 'theta_bound_factor', 'model_id'};
% default_value = {1, 10, 1};
% model.data = init_data();
% model.init_data = @init_data;
% model.rhs = @rhs;
% model.output = @output;
% Authors: Shaoying Kathy... |
github | lu6007/odesys-master | test_optimize.m | .m | odesys-master/app/opt/test_optimize.m | 1,571 | utf_8 | 61958ac046c9f0796fe74165111f1ac0 | % function [sol, fval] = test_optimize()
% Example:
% >> test_optimize;
% Ref: MATLAB documentation - Solve Constrained Nonlinear Optimization, Problem-Based
function [sol, fval] = test_optimize()
% change x, y to a single variable
x = optimvar('x', 2);
objective_fun = @objective_function;
constraint_fun = @constrain... |
github | lu6007/odesys-master | opt_model_1219.m | .m | odesys-master/app/opt/opt_model_1219.m | 4,335 | utf_8 | 0b8238afd2074a0c9add37f2788532b2 | % A standard model function
% function model = opt_model_1219(model_name, varargin)
% para_name = {'verbose', 'theta_bound_factor', 'model_id'};
% default_value = {1, 10, 1};
% model.data = init_data();
% model.init_data = @init_data;
% model.rhs = @rhs;
% model.output = @output;
% Authors: Shaoying Kathy... |
github | lu6007/odesys-master | optimize_solve.m | .m | odesys-master/app/opt/optimize_solve.m | 6,029 | utf_8 | 6f19e02600750afbee49d9cefa8997df | % function [sol0, sol] = optimize_solve(varargin)
% global test_optimize_ode_utility_fh;
% test_optimize_ode_utility_fh = utility();
% para_name = {'num_guess', 'model_name', 'model_id', 'global_optimize'};
% default_value = {1, 'simple_ode', 4, 0};
% num_guess = 0 - use initial guess in data.
% num_guesss = N > 0 - ... |
github | lu6007/odesys-master | fyn_gf_model_nodeg.m | .m | odesys-master/app/opt/fyn_gf_model_nodeg.m | 3,895 | utf_8 | 366871125cb330d1998a897871e20318 | % The optimization model for odes with nodegradation.
% function model_obj = fyn_gf_model_nodeg()
% model_obj.ode = ode;
% model_obj.objective = @objective;
% model_obj.constraint = @constraint;
% model_obj.initial_guess = @initial_guess;
% Author:
% Shaoying Kathy Lu (shaoying.lu@gmail.com)
funct... |
github | lu6007/odesys-master | fyn_gf_ode_solve.m | .m | odesys-master/app/ode/fyn_gf_ode_solve.m | 2,629 | utf_8 | 761f3a849f2a25849b1b9a94e5078f98 | % fyn signal under growth factor stimulation
% function [t, fyn_act] = fyn_gf_ode_solve(data, varargin)
% parameter_name = {'fyn_act_exp', 'test_basal_level','gf_1', 'show_figure', ...
% 'rhs_function','y0', 'output_function'};
% default_value = {[], 1, data.gf_1,1, @fyn_gf_rhs, [], []};
%
% Example:
% >> data = i... |
github | lu6007/odesys-master | batch_fyn_gf.m | .m | odesys-master/app/ode/batch_fyn_gf.m | 6,019 | utf_8 | 361c2c485ddb1ef45b3b3b4b4c74e003 | % >> model = 'egfr_huang'; %'egfr_huang_v2'; % 'egfr_blinov';
% %'egfr_huang_v3';
% >> data = fyn_gf_init_data(model);
% >> [t, y] = batch_fyn_gf(data);
function [t, output] = batch_fyn_gf(data, varargin)
para_name = {'show_figure', 'rhs_function', 'y0', 'output_function', 'field_name', 'verbose', ...
'probe_fiel... |
github | lu6007/odesys-master | fyn_gf_init_data.m | .m | odesys-master/app/ode/fyn_gf_init_data.m | 9,236 | utf_8 | e6b6375bba329345236060f7d7c0dfec | % fyn signal under growth factor stimulation
% Shaoying Lu Shirley Wu Mingxing Ouyang Yingxiao Wang
% Copyright (2015) The Regents of the University of California
% All Rights Reserved
function data = fyn_gf_init_data( model )
fh = opt_utility();
root = fh.get_root();
%
data.model = model;
data.k_don_4 = 23.39; %nm k... |
github | lu6007/odesys-master | complex_ode.m | .m | odesys-master/app/ode/complex_ode.m | 9,131 | utf_8 | ff5e82bc461e9832b370831585969268 | % The complex ode model
% function ode_obj = complex_ode(model_name, varargin)
% Authors: Shaoying Kathy Lu (shaoying.lu@gmail.com); Tongkai Li
% (ltk@pku.edu.cn)
function ode_obj = complex_ode(model_name, varargin)
global optimize_ode_utility_fh;
fh = optimize_ode_utility_fh;
% model_name = 'complex_od... |
github | lu6007/odesys-master | ode_model_1118.m | .m | odesys-master/app/ode/ode_model_1118.m | 7,507 | utf_8 | 0c684019330a25e1c5f51f157b789682 | % A standard model function
% function model_obj = ode_model_1118(model_name, varargin)
% para_name = {'multiple_output', 'best_fit'};
% default_value = {0, 0};
% model_obj.data = init_data();
% model_obj.init_data = @init_data;
% model_obj.rhs = @rhs;
% model_obj.output = @output;
% Authors: Shaoying Kat... |
github | lu6007/odesys-master | fyn_gf_rhs.m | .m | odesys-master/app/ode/fyn_gf_rhs.m | 1,610 | utf_8 | a038f1ca776900a84641426ce5bc0def | % fyn signal under growth factor stimulation
% Shaoying Lu Shirley Wu Mingxing Ouyang Yingxiao Wang
% Christopher Blackburn
% Copyright (2015) The Regents of the University of California
% All Rights Reserved
% Right hand side function
function ydot = fyn_gf_rhs(t, y, data)
ydot = egfr_huang_rhs(t, y, data);
re... |
github | lu6007/odesys-master | complex_ode_nodeg.m | .m | odesys-master/app/ode/complex_ode_nodeg.m | 3,406 | utf_8 | 371c7ee2bef11ced31402319f316c717 | % The complex ode model with no degradation
% function model_obj = complex_nodeg()
% Authors:
% Shaoying Kathy Lu (shaoying.lu@gmail.com)
% Tongkai Li (ltk@pku.edu.cn)
function ode = complex_ode_nodeg(model_name, varargin)
para_name = {'verbose', 'best_fit', 'fyn_endo'};
default_value = {1, 1, 0};
[verbo... |
github | lu6007/odesys-master | opt_utility.m | .m | odesys-master/src/opt_utility.m | 11,516 | utf_8 | e7bed79581291d39d74fd61f1148d3bd | % function fh = opt_utility()
% % Useful functions for optimizatoin
% fh.objective = @objective;
% fh.constraint = @constraint;
% fh.initial_guess = @initial_guess;
% fh.get_exp_data = @get_exp_data;
% fh.reconcile_exp_ode = @reconcile_exp_ode;
% fh.plot_curve = @plot_curve;
% fh.set_... |
github | efernandez/acado-master | makehelper.m | .m | acado-master/interfaces/matlab/makehelper.m | 13,076 | utf_8 | 407980f7cb44b25a1a47728280ed4301 | function [ ] = makehelper( type, optmake, varargin )
% This function is a helper file for "make", "makeocp", "makesimulation" and
% "makeintegrators". See help of these files and use these files directly
% instead of this one.
%
% see also make, makeocp, makesimulation, makeintegrators
%
% Licence:
% T... |
github | efernandez/acado-master | BEGIN_ACADO.m | .m | acado-master/interfaces/matlab/acado/BEGIN_ACADO.m | 2,635 | utf_8 | 717fde266e6ad6b1662d92d79c1785b2 | %Start a new empty ACADO problem
%
% Example:
% >> BEGIN_ACADO
%
% Licence:
% This file is part of ACADO Toolkit - (http://www.acadotoolkit.org/)
%
% ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
% Copyright (C) 2008-2009 by Boris Houska and Hans Joachim Ferreau, K.U... |
github | efernandez/acado-master | acadoSet.m | .m | acado-master/interfaces/matlab/acado/functions/acadoSet.m | 2,409 | utf_8 | 5821555540afd1a0cdae43bacbd7cb77 | %Set ACADO main settings
%
% Usage:
% >> acadoSet(property, value);
%
% Possible settings:
% 'problemname', a valid variable name, default 'myAcadoProblem'
% Set the output name of your problem. This value will be used to name
% all files related to your problem
%
% 'results_to_... |
github | efernandez/acado-master | algStates.m | .m | acado-master/interfaces/matlab/acado/functions/algStates.m | 1,342 | utf_8 | 643fcb204e6cbb8bfef956de77eefd73 | %
% Licence:
% This file is part of ACADO Toolkit - (http://www.acadotoolkit.org/)
%
% ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
% Copyright (C) 2008-2009 by Boris Houska and Hans Joachim Ferreau, K.U.Leuven.
% Developed within the Optimization in Engineering Center (OPTEC... |
github | efernandez/acado-master | controls.m | .m | acado-master/interfaces/matlab/acado/functions/controls.m | 1,341 | utf_8 | ed27cb2c18ef1cec8f5e36e772accfb2 | %
% Licence:
% This file is part of ACADO Toolkit - (http://www.acadotoolkit.org/)
%
% ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
% Copyright (C) 2008-2009 by Boris Houska and Hans Joachim Ferreau, K.U.Leuven.
% Developed within the Optimization in Engineering Center (OPTEC... |
github | efernandez/acado-master | disturbances.m | .m | acado-master/interfaces/matlab/acado/functions/disturbances.m | 1,345 | utf_8 | 4bb824fd0eecb49c774ab51738ca82ad | %
% Licence:
% This file is part of ACADO Toolkit - (http://www.acadotoolkit.org/)
%
% ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
% Copyright (C) 2008-2009 by Boris Houska and Hans Joachim Ferreau, K.U.Leuven.
% Developed within the Optimization in Engineering Center (OPTEC... |
github | efernandez/acado-master | parameters.m | .m | acado-master/interfaces/matlab/acado/functions/parameters.m | 1,343 | utf_8 | 1d43943f56e4a99168c8abc3a4c07a23 | %
% Licence:
% This file is part of ACADO Toolkit - (http://www.acadotoolkit.org/)
%
% ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
% Copyright (C) 2008-2009 by Boris Houska and Hans Joachim Ferreau, K.U.Leuven.
% Developed within the Optimization in Engineering Center (OPTEC... |
github | efernandez/acado-master | acadoDefined.m | .m | acado-master/interfaces/matlab/acado/functions/acadoDefined.m | 1,630 | utf_8 | d0dca2f87a7f50f66ef3829fa2ba9440 | %
% Licence:
% This file is part of ACADO Toolkit - (http://www.acadotoolkit.org/)
%
% ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
% Copyright (C) 2008-2009 by Boris Houska and Hans Joachim Ferreau, K.U.Leuven.
% Developed within the Optimization in Engineering Center (OPTEC... |
github | efernandez/acado-master | diffStates.m | .m | acado-master/interfaces/matlab/acado/functions/diffStates.m | 1,343 | utf_8 | c9542ff4e018bdd85cafb2d7f0181332 | %
% Licence:
% This file is part of ACADO Toolkit - (http://www.acadotoolkit.org/)
%
% ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
% Copyright (C) 2008-2009 by Boris Houska and Hans Joachim Ferreau, K.U.Leuven.
% Developed within the Optimization in Engineering Center (OPTEC... |
github | efernandez/acado-master | diffStatesDeriv.m | .m | acado-master/interfaces/matlab/acado/functions/diffStatesDeriv.m | 1,350 | utf_8 | 45cd845119c12a48b6697e3831d41f24 | %
% Licence:
% This file is part of ACADO Toolkit - (http://www.acadotoolkit.org/)
%
% ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
% Copyright (C) 2008-2009 by Boris Houska and Hans Joachim Ferreau, K.U.Leuven.
% Developed within the Optimization in Engineering Center (OPTEC... |
github | efernandez/acado-master | readVariable.m | .m | acado-master/interfaces/matlab/acado/functions/readVariable.m | 2,073 | utf_8 | fba758913e700180a679b7fda86bce2e | %
% Licence:
% This file is part of ACADO Toolkit - (http://www.acadotoolkit.org/)
%
% ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
% Copyright (C) 2008-2009 by Boris Houska and Hans Joachim Ferreau, K.U.Leuven.
% Developed within the Optimization in Engineering Center (OPTEC... |
github | efernandez/acado-master | OnlineData.m | .m | acado-master/interfaces/matlab/acado/keywords/OnlineData.m | 2,175 | utf_8 | 88f7fd54400085c5d91ba04de87a4412 | %Shorthand for acado.OnlineData
%
% Example:
% >> OnlineData p;
% >> OnlineData p1 p2 p3 p4;
%
% Licence:
% This file is part of ACADO Toolkit - (http://www.acadotoolkit.org/)
%
% ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
% Copyright (C) 2008-2009 by Boris Ho... |
github | efernandez/acado-master | Dot.m | .m | acado-master/interfaces/matlab/acado/keywords/Dot.m | 1,568 | utf_8 | dc77da71e5b70ffb4c8c846cb72cda3d | %Shorthand for acado.Dot
%
% Licence:
% This file is part of ACADO Toolkit - (http://www.acadotoolkit.org/)
%
% ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
% Copyright (C) 2008-2009 by Boris Houska and Hans Joachim Ferreau, K.U.Leuven.
% Developed within the Optimizat... |
github | efernandez/acado-master | Parameter.m | .m | acado-master/interfaces/matlab/acado/keywords/Parameter.m | 2,169 | utf_8 | 094346e1feaac10756f20f9e14dc1ac9 | %Shorthand for acado.Parameter
%
% Example:
% >> Parameter p;
% >> Parameter p1 p2 p3 p4;
%
% Licence:
% This file is part of ACADO Toolkit - (http://www.acadotoolkit.org/)
%
% ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
% Copyright (C) 2008-2009 by Boris Housk... |
github | efernandez/acado-master | ExportVariable.m | .m | acado-master/interfaces/matlab/acado/keywords/ExportVariable.m | 1,834 | utf_8 | b6cebc4c1a9d455e6de00e9e888d1d86 | %Shorthand for acado.ExportVariable
%
% Example:
% >> ExportVariable z;
% >> ExportVariable z1 z2 z3;
%
% Licence:
% This file is part of ACADO Toolkit - (http://www.acadotoolkit.org/)
%
% ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
% Copyright (C) 2008-2009 by... |
github | efernandez/acado-master | Disturbance.m | .m | acado-master/interfaces/matlab/acado/keywords/Disturbance.m | 2,175 | utf_8 | 8ae7f7cf19bb09485f752d99565b68de | %Shorthand for acado.Disturbance
%
% Example:
% >> Disturbance w;
% >> Disturbance w1 w2 w3 w4;
%
% Licence:
% This file is part of ACADO Toolkit - (http://www.acadotoolkit.org/)
%
% ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
% Copyright (C) 2008-2009 by Boris... |
github | efernandez/acado-master | TIME.m | .m | acado-master/interfaces/matlab/acado/keywords/TIME.m | 1,724 | utf_8 | b806b71468bbea88bf5f91f3f51add35 | %Shorthand for acado.Disturbance
%
% Example:
% >> Disturbance w;
% >> Disturbance w1 w2 w3 w4;
%
% Licence:
% This file is part of ACADO Toolkit - (http://www.acadotoolkit.org/)
%
% ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
% Copyright (C) 2008-2009 by Boris... |
github | efernandez/acado-master | Control.m | .m | acado-master/interfaces/matlab/acado/keywords/Control.m | 2,150 | utf_8 | ddab99a08534ac03f8c827a94784134c | %Shorthand for acado.Control
%
% Example:
% >> Control u;
% >> Control u1 u2 u3 u4;
%
% Licence:
% This file is part of ACADO Toolkit - (http://www.acadotoolkit.org/)
%
% ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
% Copyright (C) 2008-2009 by Boris Houska and ... |
github | efernandez/acado-master | AlgebraicState.m | .m | acado-master/interfaces/matlab/acado/keywords/AlgebraicState.m | 2,196 | utf_8 | 2c346ac6d35eba7b57e2d25b7b73dadb | %Shorthand for acado.AlgebraicState
%
% Example:
% >> AlgebraicState z;
% >> AlgebraicState z1 z2 z3;
%
% Licence:
% This file is part of ACADO Toolkit - (http://www.acadotoolkit.org/)
%
% ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
% Copyright (C) 2008-2009 by... |
github | efernandez/acado-master | DifferentialState.m | .m | acado-master/interfaces/matlab/acado/keywords/DifferentialState.m | 2,216 | utf_8 | 410a161a267575cabe54f1b83d35363c | %Shorthand for acado.DifferentialState
%
% Example:
% >> DifferentialState x;
% >> DifferentialState x1 x2 x3 x4;
%
% Licence:
% This file is part of ACADO Toolkit - (http://www.acadotoolkit.org/)
%
% ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
% Copyright (C) ... |
github | efernandez/acado-master | MexInput.m | .m | acado-master/interfaces/matlab/acado/keywords/MexInput.m | 2,077 | utf_8 | 2f290186688efa0a63b501feba7f60d2 | %Shorthand for acado.MexInput
%
% Example:
% >> MexInput x;
% >> MexInput x1 x2 x3 x4;
%
% Licence:
% This file is part of ACADO Toolkit - (http://www.acadotoolkit.org/)
%
% ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
% Copyright (C) 2008-2009 by Boris Houska a... |
github | efernandez/acado-master | robotModel.m | .m | acado-master/interfaces/matlab/examples/code_generation/nmpc/robot/robotModel.m | 2,390 | utf_8 | dedb75e8deda9cd4acd5e4ddaa2057e3 | function [sys,x0,str,ts,simStateCompliance] = robotModel(t,x,u,flag)
%
% The following outlines the general structure of an S-function.
%
switch flag,
%%%%%%%%%%%%%%%%%%
% Initialization %
%%%%%%%%%%%%%%%%%%
case 0,
[sys,x0,str,ts,simStateCompliance]=mdlInitializeSizes();
%%%%%%%%%%%
% Outputs %
%%... |
github | efernandez/acado-master | glycemia_matlab2.m | .m | acado-master/interfaces/matlab/examples/integrator/glycemia_matlab2.m | 1,615 | utf_8 | 5e6cc1eb5d0216342413047ce0bd9f3d | %%
%% This file is part of ACADO Toolkit.
%%
%% ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
%% Copyright (C) 2008-2009 by Boris Houska and Hans Joachim Ferreau, K.U.Leuven.
%%Developed within the Optimization in Engineering Center (OPTEC) under
%% supervision of Moritz Diehl. ... |
github | efernandez/acado-master | glycemia_matlab.m | .m | acado-master/interfaces/matlab/examples/integrator/glycemia_matlab.m | 2,021 | utf_8 | 67d34268aeec13e4878dd609219e033e | %%
%% This file is part of ACADO Toolkit.
%%
%% ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
%% Copyright (C) 2008-2009 by Boris Houska and Hans Joachim Ferreau, K.U.Leuven.
%%Developed within the Optimization in Engineering Center (OPTEC) under
%% supervision of Moritz Diehl. ... |
github | efernandez/acado-master | threedof_robot_matlab.m | .m | acado-master/interfaces/matlab/examples/integrator/threedof_robot_matlab.m | 5,489 | utf_8 | c1f817a008e90d5bbe08c20795a7c8c7 | %%
%% This file is part of ACADO Toolkit.
%%
%% ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
%% Copyright (C) 2008-2009 by Boris Houska and Hans Joachim Ferreau, K.U.Leuven.
%%Developed within the Optimization in Engineering Center (OPTEC) under
%% supervision of Moritz Diehl. ... |
github | efernandez/acado-master | beachball_jacobian.m | .m | acado-master/interfaces/matlab/examples/integrator/beachball_jacobian.m | 1,407 | utf_8 | ed25d35a6cc0b7c0423ec181379ca328 | %%
%% This file is part of ACADO Toolkit.
%%
%% ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
%% Copyright (C) 2008-2009 by Boris Houska and Hans Joachim Ferreau, K.U.Leuven.
%%Developed within the Optimization in Engineering Center (OPTEC) under
%% supervision of Moritz Diehl. ... |
github | efernandez/acado-master | beachball_ode.m | .m | acado-master/interfaces/matlab/examples/integrator/beachball_ode.m | 1,626 | utf_8 | 2fcee02afc5a904d8e9ab32a2bd7f73d | %%
%% This file is part of ACADO Toolkit.
%%
%% ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
%% Copyright (C) 2008-2009 by Boris Houska and Hans Joachim Ferreau, K.U.Leuven.
%%Developed within the Optimization in Engineering Center (OPTEC) under
%% supervision of Moritz Diehl. ... |
github | efernandez/acado-master | acadoPlot.m | .m | acado-master/interfaces/matlab/shared/acadoPlot.m | 1,619 | utf_8 | c29c849da5a5e1cde571d969b0cc7aea | % Licence:
% This file is part of ACADO Toolkit - (http://www.acadotoolkit.org/)
%
% ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
% Copyright (C) 2008-2009 by Boris Houska and Hans Joachim Ferreau, K.U.Leuven.
% Developed within the Optimization in Engineering Center (OPTEC) ... |
github | efernandez/acado-master | ACADOintegratorsOutputs.m | .m | acado-master/interfaces/matlab/integrator/ACADOintegratorsOutputs.m | 3,784 | utf_8 | 712f6646ecec8e3c09875c9f470d030f | %ACADOintegrators is a collection of different integrators for solving ODE and
%DAE systems including efficient sensitivity generation.
%ACADOintegratorsOutputs returns an outputs struct as returned after calling
%ACADOintegrators comprising the following items:
%
% Status -- 0 on successful retur... |
github | efernandez/acado-master | ACADOintegratorsSettings.m | .m | acado-master/interfaces/matlab/integrator/ACADOintegratorsSettings.m | 8,726 | utf_8 | d8bc0cb30f5a65b72d18bc73b196e5b9 | %ACADOintegrators is a collection of different integrators for solving ODE and
%DAE systems including efficient sensitivity generation.
%ACADOintegratorsSettings returns a settings struct for calling ACADOintegrators.
%
%Call
%
% settings = ACADOintegratorsSettings;
%
%for obtaining a settings struct comprising the... |
github | efernandez/acado-master | plot_trajectory.m | .m | acado-master/interfaces/matlab/integrator/plot_trajectory.m | 2,556 | utf_8 | a3f0e5363f557794365b7709e83405f2 | % Licence:
% This file is part of ACADO Toolkit - (http://www.acadotoolkit.org/)
%
% ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
% Copyright (C) 2008-2009 by Boris Houska and Hans Joachim Ferreau, K.U.Leuven.
% Developed within the Optimization in Engineering Center (OPTEC) ... |
github | efernandez/acado-master | qpOASES_options.m | .m | acado-master/external_packages/qpOASES-3.0beta/interfaces/matlab/qpOASES_options.m | 10,132 | utf_8 | 3bdbf4048c0295107e4f4f9cf79ea19e | %qpOASES -- An Implementation of the Online Active Set Strategy.
%Copyright (C) 2007-2011 by Hans Joachim Ferreau, Andreas Potschka,
%Christian Kirches et al. All rights reserved.
%
%qpOASES is distributed under the terms of the
%GNU Lesser General Public License 2.1 in the hope that it will be
%useful, but WITHOUT ANY... |
github | timothyahahn/RWA_SIMULATOR-master | build_libxpm_database.m | .m | RWA_SIMULATOR-master/MATLAB_LIB/BUILD_LIB/build_libxpm_database.m | 4,717 | utf_8 | d621ea75ed2043342fba9d09a7769b82 | function build_libxpm_database(fs,channel_power,D,alphaDB,gam,res_Disp,HalfWindow)
fs_num = length(fs);
xpm_matrix = zeros(fs_num,fs_num);
for i=1:fs_num
%comput xpm cross-phase effect of all other channels on fs(i)
for j=1:fs_num
%is j within i's half window?
if (abs... |
github | data-dynamics/MI4Hybrid-master | SMTgen.m | .m | MI4Hybrid-master/extras/T-detectability (SMT)/SMTgen.m | 8,315 | utf_8 | d5f010b833a3f1c1e80626d9f6024e84 | %% Generate SMT Script
function SMTgen(filename,T,sys,xbnd,nbnd,sysf,xfbnd,nfbnd)
% By: N. Ozay, F. Harirchi
% Requirements: NUM2STR.m
% Note: This code only works for the systems with outputs equal to states.
% It will be more generalized for all state space models.
% Syntax: SMTgen(filename,T,sys,xbnd,nbnd,sysf,xfb... |
github | data-dynamics/MI4Hybrid-master | model_generation.m | .m | MI4Hybrid-master/examples/model_generation.m | 3,166 | utf_8 | d910417709323dd89dfa1ee59e7828cd | %% Model generation function for a two-link robotic arm
% The nonlinear model is first converted into a 4th order linear
% differential equation by linearizing it around 4 different operating
% points giving rise to a piece-wise affine system. The continuous system
% thus arising is then discretized using Euler's disce... |
github | data-dynamics/MI4Hybrid-master | tdet_poly.m | .m | MI4Hybrid-master/lib/tdet_poly.m | 26,948 | utf_8 | 17cb74fda65c47a52639a9e50f1826c7 | %% The main function for T-detectability.
function [tdflag,epsilon]=tdetect_poly(sys,sysf,T,BM,BMf,LS,LSf,US,USf,...
LU,LUf,UU,UUf,BP,BPf,param,verbose)
% This function uses noise, state, input bounds (and uncertainty bounds, if
% any) to determine if a fault of a (non-switched) polynomial model is
% detectable i... |
github | data-dynamics/MI4Hybrid-master | invalidation_poly.m | .m | MI4Hybrid-master/lib/invalidation_poly.m | 11,046 | utf_8 | fa65e5c6a79a39040fc47a6c4197a372 | function [miflag, EPS]=invalidation_poly(sys,u,y,BP, BM, LS, US, param, ...
verbose)
% This function uses input/output data and user specified noise/state bound
% (and uncertainty bound, if any) to determine if a non-switched polynomial
% model is invalidated. The returned value can also indicate how "far" the
% s... |
github | MingleiLI/fast-rcnn-master | voc_eval.m | .m | fast-rcnn-master/lib/datasets/VOCdevkit-matlab-wrapper/voc_eval.m | 1,389 | utf_8 | fd77d0da53b2585aa65e0da5edc5fe33 | function res = voc_eval(path, comp_id, test_set, output_dir, rm_res)
VOCopts = get_voc_opts(path);
VOCopts.testset = test_set;
for i = 1:length(VOCopts.classes)
cls = VOCopts.classes{i};
res(i) = voc_eval_cls(cls, VOCopts, comp_id, output_dir, rm_res);
end
fprintf('\n~~~~~~~~~~~~~~~~~~~~\n');
fprintf('Results:\n... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.