Community Profile

photo

Michael Tross


Last seen: 4달 전
3 2019 이후 총 참여 횟수

Michael Tross's 배지

  • Thankful Level 1

세부 정보 보기...

참여 게시물
보기 기준

질문


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

7달 전 | 답변 수: 1 | 0

1

답변

질문


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

7달 전 | 답변 수: 1 | 0

1

답변

질문


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

7달 전 | 답변 수: 1 | 0

1

답변