提问


How can i replace elements from first matrix to second without changing the size of second matrix?
I have a matrix A=[1 3 4 6]; and B=[1 5 6 9 10 12 18]; the length of A is 4 and B is 7. Now i want to chang...

10 years 前 | 1 个回答 | 0

1

个回答

提问


why legend for multiple matrix is not showing the appropriate data?
I have 6 matrix as A=rand(10,10),B=rand(10,10),C=rand(10,10) and a=rand(10,10),b=rand(10,10),c=rand(10,10). i want to plot all e...

10 years 前 | 1 个回答 | 0

1

个回答

提问


how to replace elements of a matrix position wise?????
I have a matrix: A=[1 1 0 1; 1 0 1 1; 1 0 0 0; 0 1 0 1] now the elements of 3rd and 4th column i want to change ...

10 years 前 | 1 个回答 | 0

1

个回答

提问


how shall i keep the particular position of a column of a matrix to to repeat for all other columns?????
this is a code :::: a1=rand(10,10); a=a1(:,1); a=a'; c=ceil(a); %% when err=1 err=1; maxValueRowWise=max(...

10 years 前 | 1 个回答 | 0

1

个回答

提问


how to find maximum value from a matrix then add a value to it and then replace that in the same matrix?
I have a matrix a=rand(4,10), 1)i want to find the maximum or the highest value in matrix a. 2)add 0.001 to that highest valu...

10 years 前 | 1 个回答 | 0

1

个回答

提问


How total of column of a matrix can be kept be same????
If I have a matrix A A=[ 0.4000 0.6000 0.8000 0.8000 1.0000 1.6000 0.9333 1.2333 0.0000 0.0000; 1....

10 years 前 | 1 个回答 | 0

1

个回答

提问


how to check negative values are there or not in a matrix????
i have a matrix a=[0.2 0.1 -0.1 0 0.9], now i want to check whether there is any negative value if yes then those element i want...

10 years 前 | 3 个回答 | 1

3

个回答

已回答
how to select higher value in a matrix and change that by introducing an error?
thank u so much....ya i got it now....thank u so so so much...

10 years 前 | 0

提问


how to select higher value in a matrix and change that by introducing an error?
I have a matrix, a= [ 0.83 0.85 0.97 0.1 0.95 0.93 0.2 ; 0.2 0.12 0.12 0.76 0.77 0.78 0.25 ; 0.88 0.32 0.11 0.77...

10 years 前 | 2 个回答 | 0

2

个回答

提问


how to stop from running a program whenever any of the element become zero or gets negative?
i have a matrix A=rand(m,n); B=1-A; so when B is running in a loop for 100 times i want to end the matrix once any of the elemen...

10 years 前 | 2 个回答 | 0

2

个回答

提问


how shall i compare and carry the first column element to other column?
i have a matrix A=[1 1 0 1; 1 0 0 1; 1 1 1 1] but it must be AA= [1 1 0 1;1 1 0 1;1 1 0 1] so by compar...

10 years 前 | 0 个回答 | 0

0

个回答

提问


how to add and substract manually in a matrix?
I have a matrix like A=[1 1 0.7 1 0.7 1 1 1 1 1 0.7 1] now i want to addition of each column to ...

10 years 前 | 1 个回答 | 0

1

个回答