Skip to content
Snippets Groups Projects
Commit 26b97adb authored by Ramsha Narmeen's avatar Ramsha Narmeen
Browse files

Upload New File

parent fffbfa30
Branches main
No related tags found
No related merge requests found
function [next_state, reward] = perform_action_prop(state, action,Bn,snr,CIO_min,CIO_max)
next_state = state + (CIO_min + (CIO_max - CIO_min) * rand(1, size(state,2)));
mu = 0.1;
reward = Bn.*log2(1+snr)-mu+mean(action);
end
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment