Feeds
질문
Calculating poker hand probabilities
What I have is a 5x10000 matrix y that is supposed to represent 5 card poker hands. The first character is the card and the seco...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
How to do an 'if loop' that finds if a column vector contains a string
To put it in words, how would you do if y(:,i) contains ('A' and 'B') or ('C' and 'D')
대략 9년 전 | 답변 수: 2 | 0
2
답변질문
Choosing 5 card hands from a 52 card deck
My code so far is: c = ['A23456789TJQK']'; s = ['HDSC']'; d = [repmat(c,4,1),repmat(s,13,1)]; for i=1:10; ...
대략 9년 전 | 답변 수: 2 | 0
2
답변질문
Taking min of a vector and all values within 10% error
I need a way to get all the values within a 10% error of the minimum value of a vector. How could I go about that?
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to linear regress data on a log-log plot?
I have 5 data points plotted on a log-log scale, and I want to find a linear regression equation for it. The original (un-logged...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
Help using fmincon function
I attached a picture of the problem I'm working on. <</matlabcentral/answers/uploaded_files/23879/Screen%20Shot%202015-01-1...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to solve an equation using "solve" and get a decimal approx?
I'm solving an equation for x using "solve(eqn,x)" and everything works fine but I get the fraction answer and I want the decima...
9년 초과 전 | 답변 수: 1 | 1
1
답변질문
3 lines and 3 different y axes on one plot?
<</matlabcentral/answers/uploaded_files/12061/Screen%20Shot%202014-04-30%20at%207.28.22%20PM.png>> I need to plot 3 different...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
need help with ode45
so im trying to solve some diff eqs (xC, y, and w) and thus far i have: % with xE=0 (no elites): egalitarian society % x...
10년 초과 전 | 답변 수: 2 | 0