Skip to content

Instantly share code, notes, and snippets.

View martinandrovich's full-sized avatar
💭
Either coding or crying about coding.

Martin Androvich martinandrovich

💭
Either coding or crying about coding.
View GitHub Profile
@martinandrovich
martinandrovich / mandatory_2.m
Last active June 8, 2020 19:16
ODE and PDE implementations in MATLAB
%#ok<*NOPTS>
format shortG
clear; close all; clc;
% two coupled equations with integral terms:
% u(x) = (e1 * sigma * T1^4) + (1 - e1) * ∫[-0.5w;0.5w] F(x, y, d) * v(y) dy
% v(y) = (e2 * sigma * T2^4) + (1 - e2) * ∫[-0.5w;0.5w] F(x, y, d) * u(x) dx
% constants