GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — OBC-multiple-equilibria/Guesses_master.m at main · MCHatcher/OBC-multiple-equilibria

Expand file tree

/

Guesses_master.m

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
20 lines (16 loc) · 870 Bytes
/

Guesses_master.m

Copy path

File metadata and controls

20 lines (16 loc) · 870 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
%Guesses_master, written by Michael Hatcher ([email protected]). Any errors are my own.
V_0 = tril(ones(T_guess)); %Spells starting from date 1. Note: V_0(:,1) --> slack in all periods.
V_mat = []; Message_1 = []; Message_2 = [];
run Guesses_single, V_1 = V_mat; V_mat = V_1; %Single spells at the bound
run Guesses_double, V_2 = [V_1 V_mat]; V_mat = V_2; %Uncomment as necessary
%%n_loop_l = [1:2]; run Guesses_triple_loop, V_3 = [V_2 V_mat]; V_mat = V_3; %Uncomment as necessary
V_mat = unique(V_mat.', 'rows').';
if isempty(V_mat)
ind_stack(:,1:T_guess) = V_0;
elseif size(V_mat,2) >= N_guess-T_guess
ind_stack = [V_0 V_mat(:,1:N_guess-T_guess)];
Message_1 = 1; d0 = size([V_0 V_mat],2);
else
ind_stack = [V_0 V_mat ind_stack(:,size(V_mat,2)+T_guess+1:end)];
Message_2 = 1; d0 = size([V_0 V_mat],2);
end
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.