Community Profile

photo

Joey


Arizona State University

Active since 2014

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


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...

8 years ago | 1 answer | 0

1

answer

Question


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')

8 years ago | 2 answers | 0

2

answers

Question


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; ...

8 years ago | 2 answers | 0

2

answers

Question


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

1

answer

Question


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

1

answer

Question


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

1

answer

Question


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 years ago | 1 answer | 1

1

answer

Question


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

1

answer

Question


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

2

answers