summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Argao <mcargao@email.wm.edu>2012-11-27 17:41:17 -0500
committerMatt Argao <mcargao@email.wm.edu>2012-11-27 17:41:17 -0500
commit25f066b2f809b9e81612b60772f76fcf66394dde (patch)
tree1e78aab4ce8cdb631cfbde628115b6d36a6948b8
parent2044b350dc10e69fab2e121b366e29d773d87777 (diff)
downloadmode_match-25f066b2f809b9e81612b60772f76fcf66394dde.tar.gz
mode_match-25f066b2f809b9e81612b60772f76fcf66394dde.zip
Fixed variable calling
-rw-r--r--fitter_check.m4
-rw-r--r--remove_similar_soln.m2
2 files changed, 3 insertions, 3 deletions
diff --git a/fitter_check.m b/fitter_check.m
index 5b0f8e3..9d59c9d 100644
--- a/fitter_check.m
+++ b/fitter_check.m
@@ -21,13 +21,13 @@ qf=wr2q(wf,rf,lambda);
%Remove similar solutions
n_truncate = 4;
-[ possible_lens_placement_uniq, possible_lens_placement, possible_lens_set, index ] = remove_similar_soln( possible_sample_energy, possible_lens_placement, possible_lens_set, index, n_truncate );
+[ possible_lens_placement_uniq, possible_lens_placement, possible_lens_set, index ] = remove_similar_soln( possible_sample_energy, possible_lens_placement, possible_lens_set, n_truncate );
%Visualize five best solutions
n_visualizations = 5;
pick_visualization( possible_lens_placement_uniq, possible_lens_placement, possible_lens_set, index, n_visualizations, q0, qf, Ltot, lambda );
-possible_sample_energy(index(1:n_graph),:)
+possible_sample_energy(index(1:n_visualizations),:)
% %Visualize fitness function for fixed f2 and f3
diff --git a/remove_similar_soln.m b/remove_similar_soln.m
index ce1c896..4e554ab 100644
--- a/remove_similar_soln.m
+++ b/remove_similar_soln.m
@@ -1,4 +1,4 @@
-function [ possible_lens_placement_uniq, possible_lens_placement, possible_lens_set, index ] = remove_similar_soln( possible_sample_energy, possible_lens_placement, possible_lens_set, index, n_truncate )
+function [ possible_lens_placement_uniq, possible_lens_placement, possible_lens_set, index ] = remove_similar_soln( possible_sample_energy, possible_lens_placement, possible_lens_set, n_truncate )
%REMOVE_SIMILAR_SOLN Summary of this function goes here
% Detailed explanation goes here