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
qihongl/mathCognition_PDP_RL-master
plotInput.m
.m
mathCognition_PDP_RL-master/shared/plotInput.m
742
utf_8
fdfb545d0a0ed1d5f5dd18213272d05c
function [ ] = plotInput() global w clf; figure(1) subplot(2,1,1) plotInput_sup(w.input_old) subplot(2,1,2) plotInput_sup(w.input_cur) end function [] = plotInput_sup(input) global p visInput = input(1:p.eyeRange); sensoryInput = input(p.eyeRange+1:end); if length(visInput) ~= length(sensoryInput) error(); end ...
github
qihongl/mathCognition_PDP_RL-master
move.m
.m
mathCognition_PDP_RL-master/shared/move.m
403
utf_8
a8c158962dd0428e90aff3bada221b17
% written by professor Jay McClelland function [ ] = move( ) % here we act according to the action selected by selectAction() global w; %% perform the actions % update the real locations of hand and eye w.rS.handPos = w.rS.handPos + w.out.handStep; w.rS.eyePos = w.rS.eyePos + w.out.eyeStep; w.rS.td = 1; ...
github
qihongl/mathCognition_PDP_RL-master
choose.m
.m
mathCognition_PDP_RL-master/shared/choose.m
655
utf_8
df789056e07e4a4c76fbbf3ec2395c1e
% written by professor Jay McClelland function [ choice ] = choose(strengths) %choose one of n alternatives according to it's strength % if any(strengths == Inf) % % if the strength for some elements are INF, just randomly pick one % choice = find(strengths == Inf); % if numel(choice) > 1 % ...
github
qihongl/mathCognition_PDP_RL-master
computeRwd.m
.m
mathCognition_PDP_RL-master/shared/computeRwd.m
2,722
utf_8
6bc0bb9173865758f8e439e6776924d3
function Rwd = computeRwd() %% this function controls the reward policy global w p h a; w.actionCorrect = true; % if there is remaining items if targetRemain() if a.action == p.mvRange +1 % saying "done" Rwd = p.r.smallNeg; w.errors = w.errors + 1; w.done = true; elseif a.action == p...
github
mdemenkov/agra-master
agragui.m
.m
agra-master/agragui.m
7,721
utf_8
cce0874ce3a4aba148595ab0bb3af5ad
classdef agragui < handle % Visualization of LF and ROA % Developer: Max Demenkov, Institute of Control Sciences, Moscow, May 2013 - March 2015 % max.demenkov@gmail.com % % sys=agragui(obj) where obj is an agrasys object % h=sys.window() opens simple GUI % "Standalone" functions: % sys.set_plane(i,j,[xi_min xi_max],[x...
github
mdemenkov/agra-master
agrawin.m
.m
agra-master/agrawin.m
5,669
utf_8
b330c861061342e893224d0f5eca739d
function varargout = agrawin(varargin) % AGRAWIN MATLAB code for agrawin.fig % AGRAWIN, by itself, creates a new AGRAWIN or raises the existing % singleton*. % % H = AGRAWIN returns the handle to a new AGRAWIN or the handle to % the existing singleton*. % % AGRAWIN('CALLBACK',hObject,eventData,...
github
robinwang08/MATLAB_Image_Forensics_Tools-master
Shad.m
.m
MATLAB_Image_Forensics_Tools-master/Vanishing_Point/Shad.m
7,045
utf_8
67514cf9d28fffa745f560481f55473e
%Robin Wang %CS 89 Photo Forensics Project 1 %Function that runs the forensic analysis tool that computes the vanishing %point from user selected lines function Shad(photoName) %Display the image imshow(photoName,'Border','tight') hold on %Ask the user to input number of lines to be drawn using a dialogue...
github
robinwang08/MATLAB_Image_Forensics_Tools-master
fitcirc.m
.m
MATLAB_Image_Forensics_Tools-master/Directional_Lighting/fitcirc.m
972
utf_8
a191895cebb67c5092d6b5959df2e58c
%Robin Wang %Helper function derived to fit a circle to the user %selected points function results = fitcirc (X,Y) %Set the radius, and center coordinates to 8. Just an initial guess r(1,1)=8; h(1,1)=8; k(1,1)=8; %Call on fminsearch to optimize error function that we set as our circle %equation getCircle=...
github
Italianmoose/Year-3-IP-master
OSCILOS_long.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/OSCILOS_long.m
33,639
utf_8
2171cf8f63e01aa0c20522d1bfb4ac26
function varargout = OSCILOS_long(varargin) % ------------------------------------------------------------------------- % % Copyright (c) <2014>, <Department of Aeronautics, Imperial College London> % All rights reserved. % % ------------------------------------------------------------------------- % OSCILOS_LONG MATLA...
github
Italianmoose/Year-3-IP-master
GUI_INI_BC_Entropy.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_INI_GUI/Fcn_BC/GUI_INI_BC_Entropy.m
29,739
utf_8
b6e13a977524c3effd3fdaae407ac6c0
function varargout = GUI_INI_BC_Entropy(varargin) % GUI_INI_BC_ENTROPY MATLAB code for GUI_INI_BC_Entropy.fig % GUI_INI_BC_ENTROPY, by itself, creates a new GUI_INI_BC_ENTROPY or raises the existing % singleton*. % % H = GUI_INI_BC_ENTROPY returns the handle to a new GUI_INI_BC_ENTROPY or the handle to %...
github
Italianmoose/Year-3-IP-master
GUI_INI_BC.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_INI_GUI/Fcn_BC/GUI_INI_BC.m
56,086
utf_8
e9cd3db2bd2640bcb9f2a17e73de3f1d
function varargout = GUI_INI_BC(varargin) % GUI_INI_BC MATLAB code for GUI_INI_BC.fig % GUI_INI_BC, by itself, creates a new GUI_INI_BC or raises the existing % singleton*. % % H = GUI_INI_BC returns the handle to a new GUI_INI_BC or the handle to % the existing singleton*. % % GUI_INI_BC('CALL...
github
Italianmoose/Year-3-IP-master
GUI_INI_FM.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_INI_GUI/Fcn_FM/GUI_INI_FM.m
57,615
utf_8
0acb13b93ddf972b40e9b8832184d75f
function varargout = GUI_INI_FM(varargin) % GUI_INI_FM MATLAB code for GUI_INI_FM.fig % GUI_INI_FM, by itself, creates a new GUI_INI_FM or raises the existing % singleton*. % % H = GUI_INI_FM returns the handle to a new GUI_INI_FM or the handle to % the existing singleton*. % % GUI_INI_FM('CALL...
github
Italianmoose/Year-3-IP-master
Fcn_test_nonlinear_hot_wire_model.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_INI_GUI/Fcn_FM/Fcn_test_nonlinear_hot_wire_model.m
371
utf_8
85465faa7f59026a8c2ac5a255775067
function Fcn_test_nonlinear_hot_wire_model uAsp = 0:1e-3:1; for ss = 1:length(uAsp) yAsp(ss) = Fcn_yA(uAsp(ss)); end figure plot(uAsp,yAsp,'-s') function yA = Fcn_yA(uA) fs = 1e4; dt = 1/fs; tSp = 0:dt:1; % uA = 0.33; f = 10; tau = 1e-3; omega = 2*pi*f; u = uA.*sin(omega*(tSp-tau)); y = (abs(1/3 + u)).^0.5 - (1/3)^...
github
Italianmoose/Year-3-IP-master
GUI_INI_FM_Sel.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_INI_GUI/Fcn_FM/GUI_INI_FM_Sel.m
24,232
utf_8
21f8578e10d9979029c49b4644948d1a
function varargout = GUI_INI_FM_Sel(varargin) % GUI_INI_FM_Sel MATLAB code for GUI_INI_FM_Sel.fig % GUI_INI_FM_Sel, by itself, creates a new GUI_INI_FM_Sel or raises the existing % singleton*. % % H = GUI_INI_FM_Sel returns the handle to a new GUI_INI_FM_Sel or the handle to % the existing singleton...
github
Italianmoose/Year-3-IP-master
GUI_INI_FMEXP.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_INI_GUI/Fcn_FM/GUI_INI_FMEXP.m
29,189
utf_8
04e76e3a7720e9371895d6fc77e6cecd
function varargout = GUI_INI_FMEXP(varargin) % GUI_INI_FMEXP MATLAB code for GUI_INI_FMEXP.fig % GUI_INI_FMEXP, by itself, creates a new GUI_INI_FMEXP or raises the existing % singleton*. % % H = GUI_INI_FMEXP returns the handle to a new GUI_INI_FMEXP or the handle to % the existing singleton*. % % ...
github
Italianmoose/Year-3-IP-master
GUI_INI_GEQU.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_INI_GUI/Fcn_FM/GUI_INI_GEQU.m
24,211
utf_8
4c33f217b0f84b258877d61580f4c447
function varargout = GUI_INI_GEQU(varargin) % GUI_INI_GEQU MATLAB code for GUI_INI_GEQU.fig % GUI_INI_GEQU, by itself, creates a new GUI_INI_GEQU or raises the existing % singleton*. % % H = GUI_INI_GEQU returns the handle to a new GUI_INI_GEQU or the handle to % the existing singleton*. % % GU...
github
Italianmoose/Year-3-IP-master
GUI_INI_FM_IMPORT.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_INI_GUI/Fcn_FM/GUI_INI_FM_IMPORT.m
54,747
utf_8
dc4cc2e8f3515aeb062dbf0b4c7e618f
function varargout = GUI_INI_FM_IMPORT(varargin) % GUI_INI_FM_IMPORT MATLAB code for GUI_INI_FM_IMPORT.fig % GUI_INI_FM_IMPORT, by itself, creates a new GUI_INI_FM_IMPORT or raises the existing % singleton*. % % H = GUI_INI_FM_IMPORT returns the handle to a new GUI_INI_FM_IMPORT or the handle to % t...
github
Italianmoose/Year-3-IP-master
GUI_INI_PD.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_INI_GUI/Fcn_PD/GUI_INI_PD.m
105,636
utf_8
6279c03e398a8ce72a7d2767f925a3d7
function varargout = GUI_INI_PD(varargin) % GUI_INI_PD MATLAB code for GUI_INI_PD.fig % GUI_INI_PD, by itself, creates a new GUI_INI_PD or raises the existing % singleton*. % % H = GUI_INI_PD returns the handle to a new GUI_INI_PD or the handle to % the existing singleton*. % % GUI_INI_PD('CALL...
github
Italianmoose/Year-3-IP-master
Fcn_CUI_INI_CD_creat_txt_file.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_INI_GUI/Fcn_CD/Fcn_CUI_INI_CD_creat_txt_file.m
1,022
utf_8
5e6332f7db866d42929b59247363db66
% --- creat one txt file including the combustor shape function Fcn_CUI_INI_CD_creat_txt_file % This program is used to create a example file including a cambridge % combustor information global CI % --------------------------------- l_sample = [200 300 350]./1000; ro_sample = [50 17.5 35]./1000; ri_sample = [4...
github
Italianmoose/Year-3-IP-master
GUI_INI_CD.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_INI_GUI/Fcn_CD/GUI_INI_CD.m
45,439
utf_8
a93e8376037e5e3d671f9c0b8181d569
function varargout = GUI_INI_CD(varargin) % GUI_INI_CD MATLAB code for GUI_INI_CD.fig % GUI_INI_CD, by itself, creates a new GUI_INI_CD or raises the existing % singleton*. % % H = GUI_INI_CD returns the handle to a new GUI_INI_CD or the handle to % the existing singleton*. % % GUI_INI_CD('CALL...
github
Italianmoose/Year-3-IP-master
GUI_INI_CD_Split.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_INI_GUI/Fcn_CD/GUI_INI_CD_Split.m
14,081
utf_8
d1acc13b8fa020d4aecea02393845f93
function varargout = GUI_INI_CD_Split(varargin) % GUI_INI_CD_Split MATLAB code for GUI_INI_CD_Split.fig % GUI_INI_CD_Split, by itself, creates a new GUI_INI_CD_Split or raises the existing % singleton*. % % H = GUI_INI_CD_Split returns the handle to a new GUI_INI_CD_Split or the handle to % the exis...
github
Italianmoose/Year-3-IP-master
export_fig.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_INI_GUI/Fcn_CD/export_fig.m
29,720
utf_8
923dcc1ad89f1381ee70abbf422b20a5
%EXPORT_FIG Exports figures suitable for publication % % Examples: % im = export_fig % [im alpha] = export_fig % export_fig filename % export_fig filename -format1 -format2 % export_fig ... -nocrop % export_fig ... -transparent % export_fig ... -native % export_fig ... -m<val> % export_fig ... -r<val...
github
Italianmoose/Year-3-IP-master
functions_extract_data_from_graphs.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_INI_GUI/Fcn_CD/functions_extract_data_from_graphs/functions_extract_data_from_graphs.m
91,090
UNKNOWN
48b4441dcedff28cacd00a1983826cf6
function grabit(fname) %GRABIT Extracts data points from an image file. % % GRABIT starts a GUI program for extracting data from an image file. % It is capable of reading in BMP, JPG, TIF, GIF, and PNG files (anything % that is readable by IMREAD). Multiple data sets can be extracted from a % single image file, and t...
github
Italianmoose/Year-3-IP-master
GUI_INI_TP.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_INI_GUI/Fcn_TP/GUI_INI_TP.m
55,577
utf_8
e8d3a62c012989d8f56141ac7cd98e8c
function varargout = GUI_INI_TP(varargin) % GUI_INI_TP MATLAB code for GUI_INI_TP.fig % GUI_INI_TP, by itself, creates a new GUI_INI_TP or raises the existing % singleton*. % % H = GUI_INI_TP returns the handle to a new GUI_INI_TP or the handle to % the existing singleton*. % % GUI_INI_TP('CALL...
github
Italianmoose/Year-3-IP-master
Fcn_GUI_INI_TP_Update.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_INI_GUI/Fcn_TP/subFunction/Fcn_GUI_INI_TP_Update.m
5,587
utf_8
64473a715b77232118d798d950f34bd4
function Fcn_GUI_INI_TP_Update(varargin) % this function is used to update ... hObject = varargin{1}; handles = guidata(hObject); global CI % -------------identify if the GUI_INI_FM.m need to be lauched ------------ switch CI.CD.isHA case 1 % With heat addition CI.TP.isHA_final = 1; % With h...
github
Italianmoose/Year-3-IP-master
Fcn_GUI_INI_TP_Main_calculation.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_INI_GUI/Fcn_TP/subFunction/Fcn_GUI_INI_TP_Main_calculation.m
9,529
utf_8
570f10eaef6906de32f5c3be3308d6f0
function Fcn_GUI_INI_TP_Main_calculation(varargin) % This function is used to calculate the mean properties in every section % first created: 2014-04-01 % last modified: 2015-06-03 % author: Jingxuan LI (jingxuan.li@imperial.ac.uk) hObject = varargin{1}; handles = guidata(hObject); % ---------------------------...
github
Italianmoose/Year-3-IP-master
Fcn_calculation_TP_mean_across_HR.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_INI_GUI/Fcn_TP/subFunction/Fcn_calculation_TP_mean_across_HR.m
3,121
utf_8
d372950b0b736f8ec086f4350000b558
function [T_mean2,rho_mean2,u_mean2,Cp_2,gamma_2]... = Fcn_calculation_TP_mean_across_HR(HR_Num, section_Num,T_mean1,rho_mean1,u_mean1) % This function is developed to calculate mean flow parameters after the % HR. global CI T_HR =CI.CD.HR_config(HR_Num,7); % Mean tem...
github
Italianmoose/Year-3-IP-master
Fcn_calculation_combustion_products.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_INI_GUI/Fcn_TP/subFunction/Fcn_calculation_combustion_products.m
15,878
utf_8
8889fa1aba0424516ef12f254de392da
function [Tf,chi,DeltaHr,c_mean,Cp_mean,WProd]=Fcn_calculation_combustion_products(indexFuel,Phi,Ti,pi0,eff,dil) global TF % global value TF, it is recommended to clear this cell once calculation is finished % addpath('GUI_Data') % add directory to search path, ...
github
Italianmoose/Year-3-IP-master
Fcn_calculation_TP_mean_W_HeatAddition.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_INI_GUI/Fcn_TP/subFunction/Fcn_calculation_TP_mean_W_HeatAddition.m
1,674
utf_8
1f2cf9f91881591c8de3dca78d188b68
function [p_mean2,rho_mean2,u_mean2]... = Fcn_calculation_TP_mean_W_HeatAddition(p_mean1,rho_mean1,u_mean1,Rg2,T_mean2) % This function is used to calculate the mean thermoproperties changing % across the flame front which is considered as compact % The calculation consists two steps % calculate the properties...
github
Italianmoose/Year-3-IP-master
Fcn_calculation_TP_mean_WO_HeatAddition.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_INI_GUI/Fcn_TP/subFunction/Fcn_calculation_TP_mean_WO_HeatAddition.m
1,566
utf_8
2af3c95eaf818fc34f1c3f006f4a1066
function [p_mean2,rho_mean2,u_mean2] =... Fcn_calculation_TP_mean_WO_HeatAddition(p_mean1,rho_mean1,u_mean1,Theta,gamma) % This function is used to calculate the mean thermoproperties changing % across the interface between two sections with different section surface % area. % The heat addition is not accounted fo...
github
Italianmoose/Year-3-IP-master
Fcn_calculation_c_q_air.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_INI_GUI/Fcn_TP/subFunction/Fcn_calculation_c_q_air.m
4,887
utf_8
6d162ed5ca53211afd75e101678962fa
function [ci,co,DeltaHr,Cp_o]=Fcn_calculation_c_q_air(Ti,To) if nargin == 1 To=Ti; end % global TF % global value TF, it is recommended to clear this cell once calculation is finished % addpath('GUI_Data') % add directory to search path, it includes some supp...
github
Italianmoose/Year-3-IP-master
FcnTadFlameCal.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_INI_GUI/Fcn_TP/subFunction/Equilibrium_Calculation/FcnTadFlameCal.m
3,244
utf_8
f1cad00c71fada60eda7409475c3e6c9
function Tf = FcnTadFlameCal(indexFuel,phi,T1,eff,p1,THERMO) % % FcnTadFlameCal % % This function is used to calculate the flame temperature of % hydrocarbon-air flame % % % This code accounts for 6 species in the combustion products % consider a reaction % CxHy + a(O2 + 3.76N2) --> b CO2 + c CO + d H20 + e H2 + f O2...
github
Italianmoose/Year-3-IP-master
FcnTadFlameCal_MajorSpecies.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_INI_GUI/Fcn_TP/subFunction/Equilibrium_Calculation/FcnTadFlameCal_MajorSpecies.m
4,569
utf_8
0fead860ed23ab0b3fe102b5baa03307
function [T2,chi,nt] = FcnTadFlameCal_MajorSpecies(indexFuel,phi,T1,eff,T2Guess,THERMO) % % FcnEquilibrium_MajorSpecies -- calculate the combustion equilibrium % state based on water-gas shift reaction. % % This code accounts for 6 species in the combustion products % consider a reaction % CxHy + a(O2 + 3.76N2) --> b...
github
Italianmoose/Year-3-IP-master
FcnKpCoeff.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_INI_GUI/Fcn_TP/subFunction/Equilibrium_Calculation/ForProg/FcnKpCoeff.m
523
utf_8
49df57cfebe84fbb9aa14542f34e04d7
function FcnKpCoeff g(1,1) = 84; g(1,2) = 2.79e5; g(2,1) = 57.8; g(2,2) = 2.51e5; g(3,1) = g(2,1) - g(1,1); g(3,2) = g(2,2) - g(1,2); R = 8.3145; load('THERMO.mat') THERMO.gKp = g; save('THERMO.mat','THERMO'); function Kp3 = Fcn_Kp3(T) g11 = 84; g12 = 2.79e5; g21 = 57.8; g22 = 2.51e5; g31 = g21 - g11; g32 = g22 - ...
github
Italianmoose/Year-3-IP-master
Fcn_TD_main_calculation.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_TD/Fcn_TD_main_calculation.m
3,006
utf_8
32d2b99d0b3769c4e1cb0fa6459df979
function Fcn_TD_main_calculation(indexGUI) % This function is used to lauch the time domain simulation % The combustor dimensions, mean flow and thermal properties, flame model % and boundary conditions are initialized from OSCILOS. Then, user can lauch % this file from OSCILOS_long.m file or manually lauch this file....
github
Italianmoose/Year-3-IP-master
GUI_TD_Cal_JLI_AMorgans.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_TD/GUI/GUI_TD_Cal_JLI_AMorgans.m
23,691
utf_8
de9f012f7c377da5b4bf85e3519ffebe
function varargout = GUI_TD_Cal_JLI_AMorgans(varargin) % GUI_TD_Cal_JLI_AMorgans MATLAB code for GUI_TD_Cal_JLI_AMorgans.fig % GUI_TD_Cal_JLI_AMorgans, by itself, creates a new GUI_TD_Cal_JLI_AMorgans or raises the existing % singleton*. % % H = GUI_TD_Cal_JLI_AMorgans returns the handle to a new GUI_TD_...
github
Italianmoose/Year-3-IP-master
GUI_TD_Plot_Results.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_TD/GUI/GUI_TD_Plot_Results.m
33,618
utf_8
1f414f2605a561a7796e4b9ee5a92ce1
function varargout = GUI_TD_Plot_Results(varargin) % GUI_TD_Plot_Results MATLAB code for GUI_TD_Plot_Results.fig % GUI_TD_Plot_Results, by itself, creates a new GUI_TD_Plot_Results or raises the existing % singleton*. % % H = GUI_TD_Plot_Results returns the handle to a new GUI_TD_Plot_Results or the hand...
github
Italianmoose/Year-3-IP-master
Fcn_GUI_plot_with_slider.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_TD/GUI/Fcn_GUI_plot_with_slider.m
2,484
utf_8
58aeb87aeff69e9e08ec71c2d8be4d25
function Fcn_GUI_plot_with_slider(hObject,data,slider_vec,x_vec,titles) % This function creates a plot of a matrix with a slider. % the data matrix should have the x_values as columns, and the slider % values as lines handles = guidata(hObject); fig = handles.figure; panel = handles.uipanel_axes; axes = handles.axes...
github
Italianmoose/Year-3-IP-master
GUI_TD_Para_Config.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_TD/GUI/GUI_TD_Para_Config.m
51,212
utf_8
4c5aca53fed2528a1055c8a4beac4a94
function varargout = GUI_TD_Para_Config(varargin) % GUI_TD_PARA_CONFIG MATLAB code for GUI_TD_Para_Config.fig % GUI_TD_PARA_CONFIG, by itself, creates a new GUI_TD_PARA_CONFIG or raises the existing % singleton*. % % H = GUI_TD_PARA_CONFIG returns the handle to a new GUI_TD_PARA_CONFIG or the handle to %...
github
Italianmoose/Year-3-IP-master
GUI_TD_GreenFcn.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_TD/GUI/GUI_TD_GreenFcn.m
29,078
utf_8
3bf26d8cc4cfe3baaefc64bec87ddf98
function varargout = GUI_TD_GreenFcn(varargin) % GUI_TD_GreenFcn MATLAB code for GUI_TD_GreenFcn.fig % GUI_TD_GreenFcn, by itself, creates a new GUI_TD_GreenFcn or raises the existing % singleton*. % % H = GUI_TD_GreenFcn returns the handle to a new GUI_TD_GreenFcn or the handle to % the existing si...
github
Italianmoose/Year-3-IP-master
Fcn_PreProcessing.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_TD/Fcn_Others/Fcn_PreProcessing.m
3,971
utf_8
712782a6cc08eae8690b5a17fe7da824
function Fcn_PreProcessing % This function is used to calculate some mean matrix coefficients global CI % Fcn_calculation_Matrix_elements % x_diff = diff(CI.CD.x_sample); CI.TP.tau_plus = x_diff./(CI.TP.c_mean(1,:)+CI.TP.u_mean(1,:)); CI.TP.tau_minus = x_diff./(CI.TP.c_mean(1,:)-CI.TP.u_mean(1,:)); CI.TP.tau_c...
github
Italianmoose/Year-3-IP-master
Fcn_TD_INI_matrix_preprocessing.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_TD/Fcn_TD_INI/Fcn_TD_INI_matrix_preprocessing.m
3,435
utf_8
15326972d7862b62f35ca56332ab3287
function Fcn_TD_INI_matrix_preprocessing % This function is used to calculate the matrix connecting the components % at two sides of an interface. The inputs are the known values and the % outputs are the values to be calculated. The matrix in the technical % report should be reorganized. % % last edit: 2014-12-12 % %...
github
Italianmoose/Year-3-IP-master
GUI_FREQ_EigCal_PLOT.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_Freq/GUI_FREQ_EigCal_PLOT.m
12,467
utf_8
9b397c365e4865a5fc8710e02567efa7
%------------------------------------------------------------------------- function GUI_FREQ_EigCal_PLOT(varargin) hObject = varargin{1}; handles = guidata(hObject); global CI global FDF hAxes1 = handles.axes1; hAxes2 = handles.axes2; fontSize1 = handles.Font...
github
Italianmoose/Year-3-IP-master
Fcn_DetEqn.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_Freq/Fcn_DetEqn.m
3,442
utf_8
73abe706d9a054aaf30b31f82cd871c9
function F = Fcn_DetEqn(s) global CI % boundary condition [R1,R2] = Fcn_boundary_condition(s); Rs = -0.5*CI.TP.M_mean(end)./(1 + 0.5*(CI.TP.gamma(end) - 1 ).*CI.TP.M_mean(end)).*CI.TP.rho_mean(1,end).*CI.TP.c_mean(1,end).^2./CI.TP.p_mean(1,end);; % % Te = Fcn_TF_entropy_convection(s); %--------------------...
github
Italianmoose/Year-3-IP-master
Fcn_calculation_eigenvalues.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_Freq/Fcn_calculation_eigenvalues.m
3,884
utf_8
ab37602b0e19ad4d2c7fdb8e9f5c3fa4
% ----------------------------Calculate eigenvalue------------------------- % function E = Fcn_calculation_eigenvalues(CalStyle) % This function is used to calculate the eigenvalue global CI %--------------------------------- % set the scan domain FreqMin = CI.EIG.Scan.FreqMin; FreqMax = CI.EIG.Scan.FreqMax...
github
Italianmoose/Year-3-IP-master
GUI_FREQ_EigCal.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_Freq/GUI_FREQ_EigCal.m
48,509
utf_8
0779945887f4f89c93c0b482f986b510
function varargout = GUI_FREQ_EigCal(varargin) % GUI_FREQ_EIGCAL MATLAB code for GUI_FREQ_EigCal.fig % GUI_FREQ_EIGCAL, by itself, creates a new GUI_FREQ_EIGCAL or raises the existing % singleton*. % % H = GUI_FREQ_EIGCAL returns the handle to a new GUI_FREQ_EIGCAL or the handle to % the existing si...
github
Italianmoose/Year-3-IP-master
Fcn_calculation_contour.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_Freq/Fcn_calculation_contour.m
813
utf_8
8392ecd77f69653b9f16c627ef355c76
% ----------------------------Calculate contour values--------------------- % function F = Fcn_calculation_contour(CalStyle) global CI % n = length(CI.EIG.Cont.GRSp); m = length(CI.EIG.Cont.FreqSp); F = zeros(n,m); for ss = 1:n GR = CI.EIG.Cont.GRSp(ss); for kk = 1:m omega = 2*pi*CI.EIG.Con...
github
Italianmoose/Year-3-IP-master
Fcn_DetEqn_frozen_nonlinear.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_Freq/Fcn_DetEqn_frozen_nonlinear.m
5,766
utf_8
013e98018f17e18989ae12e8a4c69163
function F = Fcn_DetEqn_frozen_nonlinear(s) global CI % use nonlinear flame model, the flame transfer function varies with the % velocity ratio, but herein the velocity is frozen and the flame model is % linear % boundary condition [R1,R2] = Fcn_boundary_condition(s); Rs = -0.5*CI.TP.M_mean(end)./(1 + 0.5*...
github
Italianmoose/Year-3-IP-master
Fcn_calculation_eigenmode_nonlinear_dampers.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_Freq/Fcn_calculation_eigenmode_nonlinear_dampers.m
8,467
utf_8
811ba13918d6048e379e5dae426916a8
function [x_resample,p,u]=Fcn_calculation_eigenmode_nonlinear_dampers(s_star) % This function is used to plot the modeshape of slected mode, % Linear global CI global FDF [R1,R2] = Fcn_boundary_condition(s_star); Rs = -0.5*CI.TP.M_mean(end)./(1 + 0.5*(CI.TP.gamma(end) - 1 ).*CI.TP.M_mean(end)); % % Te ...
github
Italianmoose/Year-3-IP-master
Fcn_DetEqn_nonlinear_dampers.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_Freq/Fcn_DetEqn_nonlinear_dampers.m
7,215
utf_8
ffa150ecadd08cff6e878a99663b127d
function F = Fcn_DetEqn_nonlinear_dampers(s) global CI [R1,R2] = Fcn_boundary_condition(s); Rs = -0.5*CI.TP.M_mean(end)./(1 + 0.5*(CI.TP.gamma(end) - 1 ).*CI.TP.M_mean(end)); % Te = Fcn_TF_entropy_convection(s); %-------------------------------- tau_plus = CI.TP.tau_plus; tau_minus = CI.TP.tau_minus; ...
github
Italianmoose/Year-3-IP-master
Fcn_calculation_eigenmode_Linear.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_Freq/Fcn_calculation_eigenmode_Linear.m
6,577
utf_8
2b518e6e0e61d6bd8df7ce2b1d233642
function [x_resample,p,u]=Fcn_calculation_eigenmode_Linear(s_star) % This function is used to plot the modeshape of slected mode, % Linear global CI [R1,R2] = Fcn_boundary_condition(s_star); Rs = -0.5*CI.TP.M_mean(end)./(1 + 0.5*(CI.TP.gamma(end) - 1 ).*CI.TP.M_mean(end)).*CI.TP.rho_mean(1,end).*CI.TP.c_m...
github
Italianmoose/Year-3-IP-master
Fcn_calculation_eigenmode_frozen_nonlinear.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_Freq/Fcn_calculation_eigenmode_frozen_nonlinear.m
7,554
utf_8
a96cc178b2c2493759784fa1f2020127
function [x_resample,p,u]=Fcn_calculation_eigenmode_frozen_nonlinear(s_star) % This function is used to plot the modeshape of slected mode, % Linear global CI global FDF [R1,R2] = Fcn_boundary_condition(s_star); Rs = -0.5*CI.TP.M_mean(end)./(1 + 0.5*(CI.TP.gamma(end) - 1 ).*CI.TP.M_mean(end)).*CI.TP.rho_...
github
Italianmoose/Year-3-IP-master
GUI_FREQ_EigCal_Eigenvalues_calculation.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_Freq/GUI_FREQ_EigCal_Eigenvalues_calculation.m
9,844
utf_8
4a0e680638a16faf2bc53945d5fb2ef1
function GUI_FREQ_EigCal_Eigenvalues_calculation(varargin) % This function is used to calculate the eigenvalues hObject = varargin{1}; handles = guidata(hObject); global CI % ------------------------split the scan domain and contour domain -------- % GUI_FREQ_EigCal_Scan_domain_Contour_domain_splitting % % ------------...
github
Italianmoose/Year-3-IP-master
Fcn_PreProcessing.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_Freq/Fcn_PreProcessing.m
3,910
utf_8
a71e38065c251c11df3cbd454bd3f6b3
function Fcn_PreProcessing % This function is used to calculate some mean matrix coefficients global CI % Fcn_calculation_Matrix_elements % x_diff = diff(CI.CD.x_sample); CI.TP.tau_plus = x_diff./(CI.TP.c_mean(1,:)+CI.TP.u_mean(1,:)); CI.TP.tau_minus = x_diff./(CI.TP.c_mean(1,:)-CI.TP.u_mean(1,:)); CI.TP.tau_c...
github
Italianmoose/Year-3-IP-master
Fcn_DetEqn_Linear.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_Freq/Fcn_DetEqn_Linear.m
5,032
utf_8
6e4b519e2a847a0ed696b0935bc55a19
function F = Fcn_DetEqn_Linear(s) % This function only accounts for linear cases % global CI % boundary condition [R1,R2] = Fcn_boundary_condition(s); Rs = -0.5*CI.TP.M_mean(end)./(1 + 0.5*(CI.TP.gamma(end) - 1 ).*CI.TP.M_mean(end)).*CI.TP.rho_mean(1,end).*CI.TP.c_mean(1,end).^2./CI.TP.p_mean(1,end); % % ...
github
Italianmoose/Year-3-IP-master
GUI_FREQ_EigCal_AD.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_Freq/GUI_FREQ_EigCal_AD.m
27,373
utf_8
71687fb88a5ffd5072e02dad9c7cc8ee
function varargout = GUI_FREQ_EigCal_AD(varargin) % GUI_FREQ_EIGCAL_AD MATLAB code for GUI_FREQ_EigCal_AD.fig % GUI_FREQ_EIGCAL_AD, by itself, creates a new GUI_FREQ_EIGCAL_AD or raises the existing % singleton*. % % H = GUI_FREQ_EIGCAL_AD returns the handle to a new GUI_FREQ_EIGCAL_AD or the handle to %...
github
Italianmoose/Year-3-IP-master
Fcn_calculation_eigenmode.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_Freq/Fcn_calculation_eigenmode.m
3,658
utf_8
4d1e18322982778fd3279affaee49440
function [x_resample,p,u]=Fcn_calculation_eigenmode(s_star) % This function is used to plot the modeshape of slected mode global CI FDF = Fcn_flame_model(s_star); [R1,R2] = Fcn_boundary_condition(s_star); %-------------------------------- tau_plus = CI.TP.tau_plus; tau_minus = CI.TP.tau_minus; tau_c ...
github
Italianmoose/Year-3-IP-master
Fcn_calculation_c_q_air.m
.m
Year-3-IP-master/Combustion Chamber/OSCILOS/OSCILOS-Long-master/subProgram/GUI_Fcn/Fcn_Freq/Fcn_calculation_c_q_air.m
4,887
utf_8
6d162ed5ca53211afd75e101678962fa
function [ci,co,DeltaHr,Cp_o]=Fcn_calculation_c_q_air(Ti,To) if nargin == 1 To=Ti; end % global TF % global value TF, it is recommended to clear this cell once calculation is finished % addpath('GUI_Data') % add directory to search path, it includes some supp...
github
matt-rb/fast_matching-master
compactbit.m
.m
fast_matching-master/itq/compactbit.m
363
utf_8
147581cf2ca242e78ad47e2dff028c4e
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function cb = compactbit(b) % % b = bits array % cb = compacted string of bits (using words of 'word' bits) [nSamples nbits] = size(b); nwords = ceil(nbits/8); cb = zeros([nSamples nwords], 'uint8'); for j = 1:nbits w = ceil(j/8); cb(:,w) =...
github
matt-rb/fast_matching-master
choose_candidate.m
.m
fast_matching-master/multihash/choose_candidate.m
1,813
utf_8
fddbe07720df884707275b3a71d14327
function [ ranked_list ] = choose_candidate( bin_query_vectors, voting_tables, sub_table_bit_size ) %UNTITLED Summary of this function goes here % Detailed explanation goes here voting_table_count = size(voting_tables,1); query_samples_count = size(bin_query_vectors,1); candidate_list = cell(query_sa...
github
matt-rb/fast_matching-master
plotmatches.m
.m
fast_matching-master/sift/plotmatches.m
10,144
utf_8
4d7daa0d3265f0885ebc7f3310a47fc1
function h=plotmatches(I1,I2,P1,P2,matches,varargin) % PLOTMATCHES Plot keypoint matches % PLOTMATCHES(I1,I2,P1,P2,MATCHES) plots the two images I1 and I2 % and lines connecting the frames (keypoints) P1 and P2 as specified % by MATCHES. % % P1 and P2 specify two sets of frames, one per column. The first % t...
github
matt-rb/fast_matching-master
gaussianss.m
.m
fast_matching-master/sift/gaussianss.m
7,935
utf_8
ea953b78ba9dcf80cd10b1f4c599408e
function SS = gaussianss(I,sigman,O,S,omin,smin,smax,sigma0) % GAUSSIANSS % SS = GAUSSIANSS(I,SIGMAN,O,S,OMIN,SMIN,SMAX,SIGMA0) returns the % Gaussian scale space of image I. Image I is assumed to be % pre-smoothed at level SIGMAN. O,S,OMIN,SMIN,SMAX,SIGMA0 are the % parameters of the scale space as explained i...
github
matt-rb/fast_matching-master
plotsiftdescriptor.m
.m
fast_matching-master/sift/plotsiftdescriptor.m
5,461
utf_8
4159397cc60b624656bb3372023a43e9
function h=plotsiftdescriptor(d,f) % PLOTSIFTDESCRIPTOR Plot SIFT descriptor % PLOTSIFTDESCRIPTOR(D) plots the SIFT descriptors D, stored as % columns of the matrix D. D has the same format used by SIFT(). % % PLOTSIFTDESCRIPTOR(D,F) plots the SIFT descriptors warped to the % SIFT frames F, specified as colum...
github
SimFaris/pcl-master
plot_camera_poses.m
.m
pcl-master/gpu/kinfu/tools/plot_camera_poses.m
3,403
utf_8
097aaeb35920a12acfe6320b3e4f498b
% Copyright (c) 2014-, Open Perception, Inc. % All rights reserved. % % Redistribution and use in source and binary forms, with or without % modification, are permitted provided that the following conditions % are met: % % * Redistributions of source code must retain the above copyright % notice, this list of ...
github
davidnbresch/climada_module_kml_toolbox-master
text.m
.m
climada_module_kml_toolbox-master/code/@kml/text.m
1,699
utf_8
e223a6c06b55ec49f50f03f9ad27196e
function target = text(this,long,lat,alt,txt,varargin) %KML.TEXT(long,lat,alt,txt) Writes the text given by txt at the coordinates % given by long, lat and alt. To write in more than one coordinate, pass an % array of coordinates, and a cell of texts, with the same number of members. % % Copyright 2012 Rafa...
github
davidnbresch/climada_module_kml_toolbox-master
poly.m
.m
climada_module_kml_toolbox-master/code/@kml/poly.m
1,252
utf_8
e9e479698670f5053c919a1bcfd72f88
function target = poly(this,long,lat,varargin) %KML.POLY(long,lat) Draw a closed polygon with vertices given by long, lat. % To change the altitude of the polygon, use KML.POLY(...,'altitude', 10000) % % Copyright 2012 Rafael Fernandes de Oliveira (rafael@rafael.aero) % $Revision: 2.3 $ $Date: 2012/09/05 0...
github
davidnbresch/climada_module_kml_toolbox-master
transfer.m
.m
climada_module_kml_toolbox-master/code/@kml/transfer.m
7,696
utf_8
05ba383471a41355f4e7b4f55bce0685
function target = transfer(this,axisHandle,offset,varargin) %KML.TRANSFER(ax) Transfer the axis from the handle ax to the KML as an overlay. % Example: % k = kml; % t = linspace(0,2*pi,1000); % figure; % plot(t,sin(t)); % k.transfer(gca) % k.run % % The corners of the overlay are taken from the axis...
github
guiccbr/autonomous-fuzzy-quadcopter-master
controller.m
.m
autonomous-fuzzy-quadcopter-master/matlab/controller.m
2,762
utf_8
4ae1d76b5d1f0c09aae5dfdac5afe5db
% Create a controller based on it's name, using a look-up table. function c = controller(name, Kd, Kp, Ki) % Use manually tuned parameters, unless arguments provide the parameters. if nargin == 1 Kd = 4; Kp = 3; Ki = 5.5; elseif nargin == 2 || nargin > 4 error('Incorrect numb...
github
guiccbr/autonomous-fuzzy-quadcopter-master
simulate.m
.m
autonomous-fuzzy-quadcopter-master/matlab/simulate.m
4,955
utf_8
4b4af9e45164d31ca6e07162bddf969c
% Perform a simulation of a quadcopter, from t = 0 through t = 10. % As an argument, take a controller function. This function must accept % a struct containing the physical parameters of the system and the current % gyro readings. The controller may use the strust to store persistent state, and % return this state as ...
github
guiccbr/autonomous-fuzzy-quadcopter-master
rotation.m
.m
autonomous-fuzzy-quadcopter-master/matlab/rotation.m
627
utf_8
ee8a788b96d3cb076c90aff7e3e51d7f
% Compute rotation matrix for a set of angles. function R = rotation(angles) phi = angles(3); theta = angles(2); psi = angles(1); R = zeros(3); R(:, 1) = [ cos(phi) * cos(theta) cos(theta) * sin(phi) - sin(theta) ]; R(:, 2) = [ cos(phi) * sin(theta) * sin(psi...
github
guiccbr/autonomous-fuzzy-quadcopter-master
tune.m
.m
autonomous-fuzzy-quadcopter-master/matlab/tune.m
6,068
utf_8
0338185111b44394360d310af89af456
% Compute an optimal set of PID parameters % by initializing the parameters randomly, % minimizing a cost function using a numerical gradient % estimate, repeating this several times, and % choosing the best result. function theta = tune(); % How many times should we repeat to try to get better results? attemp...
github
guiccbr/autonomous-fuzzy-quadcopter-master
visualize.m
.m
autonomous-fuzzy-quadcopter-master/matlab/visualize.m
6,247
utf_8
8ee45864316c5c563e79dc9f96b5434d
% Visualize the quadcopter simulation as an animation of a 3D quadcopter. function h = visualize_test(data) % Create a figure with three parts. One part is for a 3D visualization, % and the other two are for running graphs of angular velocity and displacement. figure; plots = [subplot(3, 2, 1:4), subplot(3,...
github
guiccbr/autonomous-fuzzy-quadcopter-master
quadcopter.m
.m
autonomous-fuzzy-quadcopter-master/matlab/quadcopter.m
2,801
utf_8
3f1869218f4cdfd9cdf879cb4e66cc08
function result=quadcopter(motor1,motor2,motor3,motor4) %QUADCOPTER Summary of this function goes here % Detailed explanation goes here global thetadot_quad; global theta_quad; global xdot_quad; global x_quad; global omega_quad; % Physical constants. g = 9.81; m = 0.5; L = 0.25; ...
github
guiccbr/autonomous-fuzzy-quadcopter-master
fuzzy_system_yaw.m
.m
autonomous-fuzzy-quadcopter-master/matlab/sparc-yaw/fuzzy_system_yaw.m
3,069
utf_8
28e30e2cef49ffcf8c4f5a13cb6f82c7
% State University of Campinas % Evolving Fuzzy Control % Function: fuzzy_system % Description: Function that do fuzzy system % Date: 13/11/2013 - Diego Domingos function u=fuzzy_system_yaw(e,de, r, yk) % Global vectors global yaw_x; % vector of inputs in all time global yaw_ld; % local densit...
github
guiccbr/autonomous-fuzzy-quadcopter-master
update_consequent.m
.m
autonomous-fuzzy-quadcopter-master/matlab/sparc/update_consequent.m
682
utf_8
dfaada5e6dc2ce6465c2a0f97a9f255d
% State University of Campinas % Evolving Fuzzy Control % Function: update_consequent % Description: Function that update the consequent vector % Date: 04/11/2013 - Diego Domingos % Inputs: % Q : consequent vector % ld_pre : vector of local density in k-1 time % yk : output in k time...
github
guiccbr/autonomous-fuzzy-quadcopter-master
check_sample_generalization.m
.m
autonomous-fuzzy-quadcopter-master/matlab/sparc/check_sample_generalization.m
889
utf_8
c0c51d3ae84556d0e7a6579e7aafc04b
% State University of Campinas % Evolving Fuzzy Control % Function: check_sample_generalization % Description: Function that check if a sample zk has good generalization. % and return 1 if true and 0 if not. % Date: 13/11/2013 - Diego Domingos % Inputs: % zk : sample in time k % zk_pre ...
github
guiccbr/autonomous-fuzzy-quadcopter-master
cluster_defuzzification.m
.m
autonomous-fuzzy-quadcopter-master/matlab/sparc/cluster_defuzzification.m
680
utf_8
c923d804c94453eeb9aafc9a2899afb1
% State University of Campinas % Evolving Fuzzy Control % Function: cluster_defuzzification % Description: Function that recursively calculate deffuzification of the % the system with input xk. % Date: 30/10/2013 - Diego Domingos % Inputs: % ld : vector of local densities in k time % Q...
github
guiccbr/autonomous-fuzzy-quadcopter-master
cloud_sigma.m
.m
autonomous-fuzzy-quadcopter-master/matlab/sparc/cloud_sigma.m
1,118
utf_8
2429151f3ef37c06491d798e97a670ad
% State University of Campinas % Evolving Fuzzy Control % Function: cloud_sigma % Description: Function that recursively calculate the Sigma % value. % Date: 30/10/2013 - Diego Domingos % Inputs: % x : vector of inputs in time k-1 % xk_pre : vector of inputs in time k-1 % Eps ...
github
guiccbr/autonomous-fuzzy-quadcopter-master
update_focal_points.m
.m
autonomous-fuzzy-quadcopter-master/matlab/sparc/update_focal_points.m
1,520
utf_8
0c3ee653e1e8dc364150c8f805a30ed3
% State University of Campinas % Evolving Fuzzy Control % Function: update_focal_points % Description: Function that update the focal points % Date: 10/11/2013 - Diego Domingos % Inputs: % xk : input vector in time k % xk_pre : input vector in time k-1 % yk : output vector in time k %...
github
guiccbr/autonomous-fuzzy-quadcopter-master
consequent_reward.m
.m
autonomous-fuzzy-quadcopter-master/matlab/sparc/consequent_reward.m
1,043
utf_8
104fc20bcac38c2ecd651b0153731a12
% State University of Campinas % Evolving Fuzzy Control % Function: consequent_reward % Description: Function that calculate the consequent reward or penalty % Date: 04/11/2013 - Diego Domingos % Inputs: % ld_pre : vector of local density in k-1 time % yk : output in k time % ref_pre : ref...
github
guiccbr/autonomous-fuzzy-quadcopter-master
update_lambda.m
.m
autonomous-fuzzy-quadcopter-master/matlab/sparc/update_lambda.m
525
utf_8
5ba1de9e7f5f8a90b4f7760221a40602
% State University of Campinas % Evolving Fuzzy Control % Function: update_lambda % Description: Function that updates lambda vector % Date: 30/10/2013 - Diego Domingos % Inputs: % ld : local density vector % Output: % L : updated membership vector function L=update_lambda(ld) L = []; ...
github
guiccbr/autonomous-fuzzy-quadcopter-master
global_density.m
.m
autonomous-fuzzy-quadcopter-master/matlab/sparc/global_density.m
762
utf_8
96b97e6d8aa224a6beede00d95bf70fa
% State University of Campinas % Evolving Fuzzy Control % Function: global_density % Description: Function that recursively calculate the Global Density % of a cloud i. % Date: 30/10/2013 - Diego Domingos % Inputs: % zk : vector of inputs in time k % zk_pre : vector of inputs in time ...
github
guiccbr/autonomous-fuzzy-quadcopter-master
input_error.m
.m
autonomous-fuzzy-quadcopter-master/matlab/sparc/input_error.m
391
utf_8
69f697e55089d65b04efbe86bfe484ac
% State University of Campinas % Evolving Fuzzy Control % Function: input_error % Description: Function that calculate the error of input % Date: 09/11/2013 - Diego Domingos % inputs: % r : reference signal % z : output of model % outputs: % e : error between r and z % de : change...
github
guiccbr/autonomous-fuzzy-quadcopter-master
cloud_radius.m
.m
autonomous-fuzzy-quadcopter-master/matlab/sparc/cloud_radius.m
786
utf_8
af9dd24aca0e059b6730a3d4af224a71
% State University of Campinas % Evolving Fuzzy Control % Function: cloud_radius % Description: Function that calculate the radius of a cloud. % Date: 08/11/2013 - Diego Domingos % Inputs: % x : vector of inputs in time k-1 % xk_pre : vector of inputs in time k-1 % Eps : vector of Eps...
github
guiccbr/autonomous-fuzzy-quadcopter-master
fuzzy_system.m
.m
autonomous-fuzzy-quadcopter-master/matlab/sparc/fuzzy_system.m
2,701
utf_8
9354d88b5cdbd98cfc6eb78624747dcd
% State University of Campinas % Evolving Fuzzy Control % Function: fuzzy_system % Description: Function that do fuzzy system % Date: 13/11/2013 - Diego Domingos function u=fuzzy_system(e,de, r, yk) % Global vectors global x; % vector of inputs in all time global ld; % local density_vector ...
github
guiccbr/autonomous-fuzzy-quadcopter-master
membership_degree.m
.m
autonomous-fuzzy-quadcopter-master/matlab/sparc/membership_degree.m
867
utf_8
cdda870ab80b08391e4f2b7d2601abab
% State University of Campinas % Evolving Fuzzy Control % Function: membership_degree % Description: Function that recursively calculate degree of membership % of a input xk in cloud i. % Date: 30/10/2013 - Diego Domingos % Inputs: % xk : vector of inputs in time k % xk_pre : vector o...
github
guiccbr/autonomous-fuzzy-quadcopter-master
update_local_density.m
.m
autonomous-fuzzy-quadcopter-master/matlab/sparc/update_local_density.m
973
utf_8
2cdb0e8268941b3bb0494698aa751d8a
% State University of Campinas % Evolving Fuzzy Control % Function: update_local_density % Description: Function that recursively update the local density vector. % Date: 30/10/2013 - Diego Domingos % Inputs: % xk : vector of inputs in time k % xk_pre : vector of inputs in time k-1 % M ...
github
guiccbr/autonomous-fuzzy-quadcopter-master
local_density.m
.m
autonomous-fuzzy-quadcopter-master/matlab/sparc/local_density.m
821
utf_8
60cdda2704db5df2d11340b0fd6186fb
% State University of Campinas % Evolving Fuzzy Control % Function: local_density % Description: Function that recursively calculate the Local Density % of a cloud i. % Date: 30/10/2013 - Diego Domingos % Inputs: % xk : vector of inputs in time k % xk_pre : vector of inputs in time k-...
github
guiccbr/autonomous-fuzzy-quadcopter-master
associated_cloud.m
.m
autonomous-fuzzy-quadcopter-master/matlab/sparc/associated_cloud.m
720
utf_8
7b823d042a4af470c310904cb7b4f981
% State University of Campinas % Evolving Fuzzy Control % Function: associated_cloud % Description: Function that find associated_cloud of input x % Date: 08/11/2013 - Diego Domingos % Inputs: % xk : vector of inputs in time k % xk_pre : vector of inputs in time k-1 % M : vector of ...
github
guiccbr/autonomous-fuzzy-quadcopter-master
check_sample_distance.m
.m
autonomous-fuzzy-quadcopter-master/matlab/sparc/check_sample_distance.m
1,132
utf_8
51660b8ad3d18bfa0908dbc5694e0edc
% State University of Campinas % Evolving Fuzzy Control % Function: check_sample_distance % Description: Function that check if a sample zk has good distance. % and return 1 if true and 0 if not. % Date: 13/11/2013 - Diego Domingos % Inputs: % x : vector of inputs in time k % xk ...
github
mess42/dic_and_aberrations-master
zernike.m
.m
dic_and_aberrations-master/zernike.m
2,059
utf_8
c7a10077ed9c510b40c43210e8dc4c55
% This program calculates the aberration dependence of contrast in DIC microscopy % Copyright (C) 2015 Moritz Esslinger % moritz.esslinger@web.de % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation...
github
mess42/dic_and_aberrations-master
matrix_multiplication.m
.m
dic_and_aberrations-master/matrix_multiplication.m
4,104
utf_8
bc93286883cca8c3445800a2e9a78d91
% This program calculates the aberration dependence of contrast in DIC microscopy % Copyright (C) 2015 Moritz Esslinger % moritz.esslinger@web.de % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation...
github
JamieMBright/BrightSolarModel-master
textprogressbar.m
.m
BrightSolarModel-master/SDSIG-spatio-temporal/utility/textprogressbar.m
3,404
utf_8
5ea3da71c7a487bbaa894545db730e76
% Copyright (c) 2010, Paul Proteus % All rights reserved. % % Redistribution and use in source and binary forms, with or without % modification, are permitted provided that the following conditions are % met: % % * Redistributions of source code must retain the above copyright % notice, this list of conditi...
github
JamieMBright/BrightSolarModel-master
MatricesRotation.m
.m
BrightSolarModel-master/SDSIG-spatio-temporal/utility/MatricesRotation.m
3,227
utf_8
cdf738dfacd4d80608f7778ae2374471
%% The Matrix Rotation Function % function that circularly rotates xy values within a square matrix % clockwise about its centre point by defined angle. % Created by : Jamie Brght % Created : 27th February 2015 % % [x2 y2] = MatricesRotation(theta,x1,y1,m,n) % Where: % theta is the angle (degs) to rotate coordina...
github
JamieMBright/BrightSolarModel-master
ProduceCloudSamples.m
.m
BrightSolarModel-master/SIG-temporal_only/utility/ProduceCloudSamples.m
12,927
utf_8
eba23bd285d06a7bea62f3e4c88db001
% +-----------------------------------------------------------------------+ % | Hourly Cloud Cover Generator | % +-----------------------------------------------------------------------+ % | Creator: Jamie Bright 21/02/2014 | % | Re worked on...
github
santoshaditham/samsung-master
gaplotrange.m
.m
samsung-master/matlab/gaplotrange.m
1,840
utf_8
57425d0886580b031eeb0f726f0eee31
function state = gaplotrange(options,state,flag) %gaplot1drange Plots the mean and the range of the population. % STATE = gaplotrange(OPTIONS,STATE,FLAG) plots the mean and the range % (highest and the lowest) of individuals (1-D only). % % Example: % Create an options structure that uses gaplotrang...
github
mbrindise/StentProcessing-master
removeStent.m
.m
StentProcessing-master/removeStent.m
2,568
utf_8
52400247c42fb1ce2b9176be9de4517b
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % PURDUE UNIVERSITY % AETHER LAB % Code Created By: Melissa Brindise % Code Created On: January 22, 2015 % % ------------------------- CODE INFORMATI...
github
mbrindise/StentProcessing-master
findStent.m
.m
StentProcessing-master/findStent.m
7,024
utf_8
1996a485e6863d87d3ef1655d816e8d5
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % PURDUE UNIVERSITY % AETHER LAB % Code Created By: Melissa Brindise % Code Created On: November 1, 2014 % % ------------------------- CODE INFORMATI...
github
mbrindise/StentProcessing-master
createMMSEimages.m
.m
StentProcessing-master/createMMSEimages.m
3,802
utf_8
3503ff0a9e5e3dd9857ecdc8a09e921a
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % PURDUE UNIVERSITY % AETHER LAB % Code Created By: Melissa Brindise % Code Created On: November 1, 2014 % Code Last Updated On: June 26, ...
github
yzliao/cs229mario-master
plotScores.m
.m
cs229mario-master/MarioAI/plotScores.m
580
utf_8
e012292411da58a6d8eeb9b2b578e0da
% Parse and plot the scored from the learning iterations. function plotScores(filename, numIter) N = 25; ind = N : numIter - N; scores = zeros(numIter, 1); lines = textread(filename, '%s', 'delimiter', '\n'); for i = 1 : numIter scores(i) = str2num(lines{i}); end figure; plot(ind, scores(ind), '-', 'Linewidth',...