Community Profile

photo

Bathrinath


Kalasalingam University

2012 年からアクティブ

Research student

統計

  • Thankful Level 3

バッジを表示

Content Feed

表示方法

質問


array fetching and placing in matrix
I have a matrix c = [0 0 0; 0 0 0; 0 0 0] from the command c=zeros(3,3). My array p...

7年以上 前 | 1 件の回答 | 0

1

回答

質問


Need a bipartite graph for the 0-1 matrix
I have a matrix A = [0,1,0,1,0,0,1; 0,0,1,0,1,0,0;1,1,0,1,0,0,1;1,0,1,0,0,1,0;0,0,1,1,1,1,0]. I need a bipartite graph. How to ...

8年以上 前 | 0 件の回答 | 0

0

回答

質問


array multiplication with a negative value
A=[0,-2.2,-3.3,-25;1.2,0,-1.1,12;2,-8,8,0] my answer is to be A=[0,-2.2,-3.3,-25;-1.2,0,-1.1,-12;-2,-8,-8,0]. I need to convert ...

10年弱 前 | 1 件の回答 | 0

1

回答

質問


subtraction and multiplication of two arrays
t=[19;25;29;69];T=[19;25;29;69]; i have to do the subtraction and multiplication operation using A=0.3*(t-T) to get 4X4 matrix. ...

10年弱 前 | 2 件の回答 | 0

2

回答

質問


comparing and addition of two matrices
a=[9,41,48,0,0,0,0,0;15,47,56,0,0,0,0,0;25,67,0,0,0,0,0,0];b=[21;11;30]; I am having three rows in a and b. I need to compare a ...

10年弱 前 | 1 件の回答 | 0

1

回答

質問


find minimum value greater than zero in the rows
a=[9,32,7,0,0,0,0,0;15,32,9,0,0,0,0,0;25,42,0,0,0,0,0,0];i have to find out minimum value in 'a' which should be greater than ze...

10年弱 前 | 2 件の回答 | 0

2

回答

質問


I need to store every iteration in curve using plot
For every iteration i want to store values in x and y axis, where x is number of iteration and y is BestFitness.I have given the...

10年弱 前 | 1 件の回答 | 0

1

回答

質問


Debugging the code which is written with global function
I am trying to modify the code in which code is written by declaring global, and all functions are in the same page. If I am try...

10年弱 前 | 1 件の回答 | 0

1

回答

質問


move values from uneven size matrix
I have created 100x6 matrix with zeros. I need to move the first row of gbestseq to first row of globbestseq and remaining rows ...

10年弱 前 | 1 件の回答 | 0

1

回答

質問


Finding index for minimum value in array
I need to find the index for the minimum value in pbest other than '0'. I got the value using the following code but I have the ...

10年弱 前 | 2 件の回答 | 0

2

回答

質問


randperm for multiple times
Hi, I need randperm has to be generated for 100 times which has to be saved in 'a'. Suggest some points. n=6; a=zero...

10年弱 前 | 1 件の回答 | 0

1

回答

質問


Adding rows with constraint
a=[10,11,8; 6,5,7; 4,6,5; 0,0,5]; output=[10,11,8; 16,16,15; 20,22,20; 0,0,25]; First row should be as it is, in the second ...

約10年 前 | 2 件の回答 | 0

2

回答

質問


Fetching data to the matrix in a particular sequence
m=3; p=[5,8,10,11,6,7,9]; seq=[3,4,2,6,5,1,7]; out=[10,11,8;6,5,7;0,0,9]; Since m=3 I have to place all these valu...

約10年 前 | 1 件の回答 | 0

1

回答

質問


Insertion of the index
The number of jobs n =4 which are in k = [3,2,4,6]. First index value in k is 3, now i need to insert the first index value...

10年以上 前 | 2 件の回答 | 0

2

回答

質問


comparing and deleting the elements in array
x = [3 2 5 1 6 4; 4 1 3 5 2 6; 1 5 6 3 4 2; 1 5 6 2 3 4; 4 1 3 2 5 6 ]; y = [3 2 5; 4 1 3]; in this case 'y' has to be be comp...

10年以上 前 | 1 件の回答 | 0

1

回答

質問


how to get factorial combination
a = [ 3 4 2 6 5 1]. I need 6! comibination of 'a'. We know that 6! is 720. From 'a' I need 720 different combinations. How to ge...

10年以上 前 | 1 件の回答 | 0

1

回答

質問


how to make factorial
hello, let the number of machines 'm' = 3 and number of jobs 'n' = 6.The given sequence is 3-4-2-6-5-1. I need 6! combinat...

10年以上 前 | 0 件の回答 | 0

0

回答

質問


summing up array element
Hello, I am new to programming, I have an array like p = [3 6 2 5]; I need c = [3 9 11 16]; First element in the array is as i...

10年以上 前 | 4 件の回答 | 0

4

回答

質問


Removing elements in an array
Hi, I want to remove the elements which has zero values. aaa = [ 0 0 2 3 0 6 ] I need aaa = [ 2 3 6 ] Sugg...

12年弱 前 | 1 件の回答 | 0

1

回答

質問


Alternate for flipr command in matlab
Hi, m = 3; n = 8; There are 8 elements in A A = [33,47,44,49,40,21,45,48]; After sorting in descending order A = [...

約12年 前 | 2 件の回答 | 0

2

回答

質問


for loop query
Hi, m = 3; c = [40,39,36,30,22,21] I have to get the answer in matrixformat d= [40 39 36 ; 21 22 30] as my machine size ...

約12年 前 | 1 件の回答 | 0

1

回答

質問


Sort the matrix corresponding to row
Hi, I am new to matlab,can any one help me for sorting the matrix AA =[2,3,4,5,1,6;21,22,30,36,39,40] In the matrix A...

約12年 前 | 1 件の回答 | 0

1

回答