photo

Michael Tross


Last seen: presque 5 ans il y a Actif depuis 2019

Followers: 0   Following: 0

Statistiques

  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

Question


How do I remove the brackets from the numeric values around the zeros, so that only the numeric values are left and I am able to use boolean logic to get a solution ( 1 or 0)?
"( (1) | (0) )" "(0)" "( (0) | (1) | (0) )" "( (0) | (0) )" "( (1) | (0) )" "" "(0)" "( (0) & (1) & (0) )" "(1)" "( (0)...

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


How do I locate all integer values within a matrix (of string and integer values in the same cell), then replace all those integer values with a 1 or 0 thus forming a new matrix with the replaced integers?
"( x(2) | x(1) )" "x(3)" "( x(4) | x(6) | x(5) )" "( x(7) | x(8) )" "( x(7) | x(8) )" "" "x(9)" "( x(10) & x(11) & x(12) ...

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


how do I append to an array within a loop with float values?
lenArray = length(0:0.1:20); solutions = zeros(lenArray,1); for k=0:0.1:20 a = -k; b = -k; soln= a+b; solution...

environ 5 ans il y a | 1 réponse | 0

1

réponse