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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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...
10 years 前 | 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...
10 years 前 | 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...
10 years 前 | 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 years 前 | 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 years 前 | 2 个回答 | 0