Bilese
Content Feed
질문
Find dW/dd then use bisection or regula falsi to find the value of d that maximizes W
F = 2+(1/(1+exp(5*(0.8-d)))); C = 0.32*(1/(1+exp(10*(1-d)))); S = 2/(1+exp(0.5*(4+F))); W = (1-C)*(1-S); disp(diff(W,d)) ...
1년 초과 전 | 답변 수: 0 | 0
0
답변질문
How to make a 31x31 matrix of zeros with 300 1's in random position
x1 = randi([0, 1], [31,31]); %random grid I have this so far, but I want only 300 1's and not a random amount.
1년 초과 전 | 답변 수: 1 | 0