Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
SysBiOThe
/
CRA-Matlab
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 0185a9e1
authored
2019-03-31 21:51:35 +0200
by
Chiara Antonini
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Upload new file
1 parent
44c7b60b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
CRA_Updated_Version/CRA_Toolbox_bash/plotpdf_evalfunc.m
CRA_Updated_Version/CRA_Toolbox_bash/plotpdf_evalfunc.m
0 → 100644
View file @
0185a9e
%Function that plots and saves the figure of the estimated pdf of the evaluation function
%for the chosen variable.
function
plotpdf_evalfunc
(
folder
,
variable_name
)
try
load
(
fullfile
(
folder
,
variable_name
,
'pdf_eval_func.mat'
));
figure
for
i
=
1
:
size
(
xbinT
,
1
)
plot
(
xbinT
(
i
,:),
ks_y_T
(
i
,:));
hold
on
end
xlabel
(
variable_name
,
'Interpreter'
,
'none'
);
ylabel
(
'pdf of evaluation function'
);
saveas
(
gcf
,
fullfile
(
folder
,
variable_name
,
variable_name
),
'jpeg'
);
catch
ME
errordlg
(
ME
.
message
)
end
end
\ No newline at end of file
\ No newline at end of file
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment