Community Profile

photo

Michael Tross


Last seen: 4년 초과 전 2019년부터 활동

Followers: 0   Following: 0

통계

  • Thankful Level 1

배지 보기

Feeds

보기 기준

질문


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

4년 초과 전 | 답변 수: 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) ...

4년 초과 전 | 답변 수: 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...

4년 초과 전 | 답변 수: 1 | 0

1

답변