Community Profile # chan

Last seen: 3달 전 2015 이후 활성

#### Statistics

• 배지보기

#### Content Feed

보기 기준

질문

How to put different seed in a multidimensional matrix
I have a multidimensional matrix where n=10, k=3 X = rand([n,k,n]); How to put different seed number for each matrix X(:,:,1)...

3달 전 | 답변 수: 3 | 0

### 3

답변

질문

How to find euclidean distances of each column of the two matrices?
I have two matrices X and Y, of order 5*3 order I want to find euclidean distance of 1st column of X matrix and 1st column of Y...

3달 전 | 답변 수: 2 | 0

### 2

답변

질문

How to insert a zero column vector in a matrix according to a particular position?
I have a matrix 4*4. i want to insert a zero column vector based on a particular position. position can be 1 or 2 or 3 or 4 or ...

4달 전 | 답변 수: 3 | 0

### 3

답변

질문

how to take average of each column of matrices
A = randi(9,[6 3 6]); U = 3:5; % do it with a loop M = zeros(size(A,1),size(A,2),numel(U)); for k = 1:length(U) M(:,:,k...

10달 전 | 답변 수: 2 | 0

### 2

답변

질문

how to stack a 2D matrix form in 3D form?
Could anyone suggest me some hint to solve this problem. i have a 3D matrix A=6*3*6 and length(U)=3 where U values are 3,4,5. ...

10달 전 | 답변 수: 1 | 0

### 1

답변

질문

how to store the values in a matrix every time within an infinite while loop
reply_timer=5; t=20; The infinte loop will run 15 times(t-reply_timer). Everytime when the loop got executed we get some value...

11달 전 | 답변 수: 0 | 0

### 0

답변

질문

How to avoid duplication of random numbers?
clc; clear all; n=10; rng(1); reply_timer=randi(10); fprintf('The reply_timer is %i\n',reply_timer); i=1; t=15; while(1)...

11달 전 | 답변 수: 1 | 0

### 1

답변

질문

How to normalize a matrix in such a wat that every row sum of X(:,:,i) should be 1 except for ith row
I have created a matrix X = rand([6,3,6]); i want to normalize this matrix in such a way that every row sum of X(:,:,i) should b...

11달 전 | 답변 수: 2 | 0

### 2

답변

질문

fixing of random number
I know how to fixed a random number for Y .when i run the program multiple times i want the random value generated for Y is same...

11달 전 | 답변 수: 1 | 0

### 1

답변

질문

how to normalize a uniformly distributed random values such that every row sum of X(:,:,i) should be 1 except for ith row?
how to normalize a uniformly distributed random values such that every row sum of X(:,:,i) should be 1 except for ith row? 'i' v...

약 1년 전 | 답변 수: 1 | 0

### 1

답변

질문

how to sum all row values in a matrix except the ith row?
i have a matrix X=rand([6,3,6]); I want all the row value sum=1 except the ith row? this ith can be 4/5 according to user's cho...

약 1년 전 | 답변 수: 1 | 0

### 1

답변

질문

How to normalize a matrix?
i Have a matrix of X = rand([n,key_size,6]); where n=6,key_size=3 How to normalize X in such a way that every row sum of X(:,:,...

약 1년 전 | 답변 수: 1 | 0

### 1

답변

질문

How to create random number between (0....1]?
Could someone suggest me how to create random numbers between (0....1]?

약 1년 전 | 답변 수: 2 | 0

### 2

답변

질문

how to normalize a uniformly distributed random values such that every row sum of X(:,:,i) should be 1 except for ith row?
X = rand([6,3,6]); how to normalize a uniformly distributed random values such that every row sum of X(:,:,i) should be 1 exce...

약 1년 전 | 답변 수: 1 | 0

### 1

답변

질문

how to store values in Matrix based on the output of some iteration
I have run a code in which the loop keeps on running until it is false. Suppose the loop runs for (for i=1:count) where count =r...

약 1년 전 | 답변 수: 1 | 0

### 1

답변

질문

How to find the maximum value of the first column in multiple matrices excluding the row we selected?
Suppose i have created a matrix say X=rand([6,3,2]); How to find the maximum element in the first column of both the matrices...

약 1년 전 | 답변 수: 0 | 0

### 0

답변

질문

How to find the maximum value of the first column in multiple matrices?
i have created a matrix, X = rand([6,3,6]); Now i want to find maximum value of 1st column of each 6 matrices.How to solve th...

약 1년 전 | 답변 수: 1 | 0

### 1

답변

질문

how to make a row all zeros in a matrix based on the two random number generated???
I have 6 matrices namely A,B,C D,E,F and all matrix are of 6*3 order. A is node 1, B -node 2,C-node 3,....F-node6. Now i have ...

약 1년 전 | 답변 수: 1 | 0

### 1

답변

답변 있음
i want to make comparison between two matrices elements after creating the two matrices.
x=rand(5,3); for i=1:5 for j=1:3 A(i,j)=x(i,j); end end this is for creating one single matrix. i want t...

약 1년 전 | 0

질문

i want to make comparison between two matrices elements after creating the two matrices.
for i = 1:3 x{i} = rand(3,3); end How can you display a number say in matrix x{1} ,i want to get the number of row 2,col...

약 1년 전 | 답변 수: 2 | 0

### 2

답변

질문

how to write for(i=count;i>1;i--) in matlab.
If I write like for i=5:-1:1 I got the value 54321 But I want to avoid 1 in the output.how to write syntax in matlab for this co...

6년 이상 전 | 답변 수: 0 | 0

### 0

답변

질문

how to convert recursion to iterative in matlab
how to convert this C program into MATLAB removing recursion.

7년 이하 전 | 답변 수: 0 | 0

### 0

답변

질문

to change without using function in MATLAB
here is a program code in C using function and recursion.i dnt know how to convert this code into normal code without using func...

7년 이하 전 | 답변 수: 1 | 0

### 1

답변

질문

how to input values in a 2D matrix using a nested for loop of size 5*5?
how to input values in a 2-D matrix using a nested for loop of size 5*5?

7년 이하 전 | 답변 수: 1 | 0

### 1

답변

질문

how to update a matrix for every count
my matrix is A=[1 2 3 4] in first count i have updated the values to A=[6 7 8 9] in second count my value has not been upd...

7년 이하 전 | 답변 수: 0 | 0

### 0

답변

질문

how to create adjacency matrix
How to create adjacency matrix 10 by 10 based on this developed commands X=randi([1,1000],10,1); M=[X,X(randperm(length(X)))...

7년 이하 전 | 답변 수: 1 | 0

### 1

답변

질문

how to assign randomly generated numbers to a matrix say 10 by 2?
i have created random numbers using the code k1=randi([1,1000],1,10) Now how to assign this 10 randomly generated numbers to a ...

약 7년 전 | 답변 수: 1 | 0

답변