Community Profile

photo

Bilese


Last seen: 2 days ago Active since 2022

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


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 year ago | 0 answers | 0

0

answers

Question


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 year ago | 1 answer | 0

1

answer