photo

Rabia Zulfiqar


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

Followers: 0   Following: 0

통계

  • Thankful Level 3

배지 보기

Feeds

보기 기준

질문


Replacing elements in matrix
I have a matrix A.For example [0 0 0 0 ; 1 2 1 2 ; 2 0 0 -1 ; -1 0 -1 -2 ; -2 -2 -2 0] Now the query is I h...

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

1

답변

질문


How to modify values in an array at a certain point inside a loop?
I have formed this simple code clc clear all a=1.4 for i=1:10 %Here i represents years A(:,:,i)=a; %For storing ...

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

1

답변

질문


How to perform operation on sepcific elements in an array?
I have an array 'A' of size 1×365. There is an another array 'B' consisting of linear indexing of size 1×160. Now I want to cr...

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

1

답변

질문


How to make specific elements of a matrix zero before nth element?
Hi I have a matrix of 24x365. I have an array which reperesents the index of an element in each column.I want to convert all ele...

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

2

답변

질문


How to make specific elements in a 3D matrix zero?
Hi I have a 3D matrix namely Costyearlydata having size of 24x365x10 and I want to make certain elements in that matrix zero. D...

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

1

답변

질문


How to find the index of first and last nonzero elements in each column?
Hi,Is there any way to find the index of first and last nonzero element in a matrix? I have this matrix A=[0 0 0 0...

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

5

답변

질문


Why Conversion of 2D matrix to 3D matrix is giving wrong results??
I have developed a code for 1 year which was simple and it was in 2D giving the right answers as well but when I tried to analyz...

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

1

답변

질문


How to multiply a scalar with matrix within loop and for each iteration store the values in new matrix?
I have a matrix of 24x365 but just to explain what I want to do I am taking here an example matrix of 2x2. A=[1 2 3 ...

거의 5년 전 | 답변 수: 1 | 1

1

답변

질문


How to perform mathematical operation in columns on certain elements and make the other elements zero??
For example I have this matrix: [0 0 0 0 1 0 2 7 5 8 3 11 4 12 2 9] The min and...

거의 5년 전 | 답변 수: 2 | 0

2

답변

질문


How to make elements of each column zero before nth element ??
Hi I am trying to do something like this, I have a matrix where I have to find the min value of each column after that I have to...

거의 5년 전 | 답변 수: 2 | 0

2

답변

질문


Error `Failure in user supplied objective function.FMINCON cannot continue.
Hi, I getting this error again and again I have tried multiple times but unable to remove this error. I have created an objecti...

거의 5년 전 | 답변 수: 1 | 0

1

답변