When I ran the code, I am getting the following error:
Undefined function or variable ‘last_act’.
Error in cvx_solve (line 315)
if ~found && last_solved == solved && last_act == nact,
Error in cvx_finish
Error in cvx_end (line 11)
evalin( ‘caller’, ‘cvx_finish’ );
Error in Scenario2_multiplesubchannelsperD2D (line 109)
how can I rectify it.