Community Profile

photo

Daniel Lee


Last seen: 3년 초과 전 2020년부터 활동

Followers: 0   Following: 0

통계

  • Thankful Level 3

배지 보기

Feeds

보기 기준

질문


looking up entire matrix for if then loop
Given A=[1 2 3 4 5 ] I want to see when A > 1 and count how many times that was true (output should be 4 times) I want to see...

3년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Output to an array or matrix
Using For and If loop, I got 5 separate outputs, ans = 1, 2, 3, 4, 5 Is there a way to automatically create an array with abov...

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

1

답변

질문


Index exceeds the number of array elements error
When I run below code, I get error: Index exceeds the number of array elements (5). Can someone please help me understand why I...

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

1

답변

질문


how to call out specific cell in a matrix
If I have A=[1,2,3,4,5] B=[6,7,8,9,10] C=[1,2,3,4,5] If there a way to call out specific position at each matrix so that: ...

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

1

답변

질문


create an array with an output from a loop
Is there a way to create an entirely new array with an output from a loop? For example: If a condition is met, increase or dec...

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

1

답변

질문


Subtracting 2 cells in an array
Given: A=[1,3,5,2,6,1]; Is there a function where I can get a difference of first and following cell in above matrix? For exa...

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

1

답변

질문


Matrix comparison with unequal sized matrices
Hi Let's say I have: A = [A1, A2, A3, A4, A5] B= [B1,B2,B4,B4,B5] N = counter If I want to: Compare B1 to A2. If B1 is gre...

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

1

답변

질문


Selective summary of matrix array
Hi, I'm trying to create 1 x 5 matrix called A with following information: Given: Let's say r=exprnd(5,1,5) yields following ...

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

1

답변