![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/3245515_1522094419984_DEF.jpg)
Bathrinath
Kalasalingam University
Followers: 0 Following: 0
Research student
Statistics
22 Questions
0 Answers
RANK
107,057
of 293,481
REPUTATION
0
CONTRIBUTIONS
22 Questions
0 Answers
ANSWER ACCEPTANCE
63.64%
VOTES RECEIVED
0
RANK
of 20,033
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 148,733
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
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...
8 years ago | 1 answer | 0
1
answerQuestion
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 ...
9 years ago | 0 answers | 0
0
answersQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 2 answers | 0
2
answersQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 2 answers | 0
2
answersQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 2 answers | 0
2
answersQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 2 answers | 0
2
answersQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 2 answers | 0
2
answersQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 0 answers | 0
0
answersQuestion
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...
11 years ago | 4 answers | 0
4
answersQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 2 answers | 0
2
answersQuestion
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 years ago | 1 answer | 0
1
answerQuestion
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 years ago | 1 answer | 0