![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/9539407_1484722255653.jpg)
Vishal Sharma
Followers: 0 Following: 0
Statistics
RANK
184,875
of 293,534
REPUTATION
0
CONTRIBUTIONS
33 Questions
1 Answer
ANSWER ACCEPTANCE
57.58%
VOTES RECEIVED
0
RANK
of 20,040
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
How to generate all combinations of a vector
I want to generate all possible combinations of a vector A=[1 2 3] to get answer [1 1 1; 1 1 2; 1 1 3; 1 2 1; 1 2 2; 1 2 3]
6 years ago | 1 answer | 0
1
answerQuestion
How sort rows of matrix as per given index
I have a matrix, A A = [1 2 3, 4 5 6, 7 8 9]; I want to sort rows of this matrix as per sequence of [2nd row; 3rd row; 1st r...
7 years ago | 1 answer | 0
1
answerQuestion
How to solve multi objective problem (Goal Programming) in Matlab
I have a multi objective problem (Goal Programming)... Maximise Z = 3x + 4y Minimise Z = 5x +6y Subject to constrai...
7 years ago | 3 answers | 0
3
answersQuestion
How to count frequency of non zero elements col wise
I have a matrix A = [ 1 2 3 0 0; 2 2 0 2 1; 1 0 2 3 1] I want to count column wise frequency of occurrence of a...
7 years ago | 2 answers | 0
2
answersQuestion
How to find character data in cell array and write in single column
A cell array has following character data A{1,1}=[' '] [' '] ['Smith'] [' '] ; ['False'] [' '] [' '] [' '] ; ...
7 years ago | 1 answer | 0
1
answerQuestion
How to add more variables in script function file....
I want to create a function handle in which 1200 variables are to be added.... function [f] = temporary(X) f(1) = 15 ...
7 years ago | 3 answers | 0
3
answersQuestion
How to replace non zero value with character
Matrix A = [0 0 1; 1 0 0;0 2 0]; I want to create another matrix replacing non zeros elements (i.e. (1,3), (2,1), (3,2) with ...
7 years ago | 1 answer | 0
1
answerQuestion
How to get minimum value among more than two matrix
I have 5 matrix of following values as per below:-- A = [1 2 3;0 0 5] B = [3 2 3;0 0 3] C = [1 5 3;0 0 2] D = [7 2 3...
7 years ago | 1 answer | 0
1
answerQuestion
how to make cumsum in ascending order of values
I have a matrix A = [1 2 4 7; 2 3 1 6; 4 5 6 15] . The last column is sum of rows I want to make a...
7 years ago | 1 answer | 0
1
answerQuestion
How to sum two rows at a time in matrix
I have a matrix of size 6 by 3 A = [1 2 3; 3 4 5; 4 5 6; 5 4 3; 3 4 3; 3 2 1] I want to make sum of two rows at a time, so...
7 years ago | 1 answer | 0
1
answerQuestion
How to replace minimum values with 0 and maximum with 1 in an array
I have an array of A = [ 1 4 3 4 3 4 5 6 4 5 6 7; 2 3 4 5 3 4 5 6 2 3 4 2] I want to replace maximum value in ...
7 years ago | 1 answer | 0
1
answerQuestion
How to solve multi objective problem using GA
I have a multi objective problem (Goal Programming)... Maximise Z = 3x + 4y Minimise Z = 5x +6y Subject to constraints ...
7 years ago | 0 answers | 0
0
answersQuestion
How to convert Cell Array index into Matrix with ones
I have cell array of A having values A {1,1} = [2] A {1,2) = [2, 3] A {1,3} = [3] A {1,4} = [3, 4] Based on thi...
7 years ago | 1 answer | 0
1
answerQuestion
How to check elements with value of 1’s in adjoining rows
A = [1 1 0 0; 0 1 1 0; 0 1 1 0; 0 0 1 1; 0 0 1 1] How to check the result of 1’s in adjo...
7 years ago | 1 answer | 0
1
answerQuestion
How to create array of alphanumeric
I want to make array of A1 A31 A61 A91 Please suggest me code
7 years ago | 1 answer | 0
1
answerQuestion
How to sort vector with respect to another vector
I have one vector A= [11; 12; 13; 21; 22; 31] A = 11 12 13 21 22 31 And another vector B = [5; 2; 1; 3; 4; 6] B ...
7 years ago | 1 answer | 0
1
answerQuestion
special case of permutation combination with same sequence
I have a problem of special case of permutation combination From nos from 1 to 30 . Supposing a permutation combination from ...
7 years ago | 1 answer | 0
1
answerQuestion
To find a vector subset of a matrix in sequence?
I have a vector A = [1 2 3] And another matrix B = [2 3 4 1; 1 2 3 4; 2 4 1 3; 2 3 1 4] I want to know which row of vector...
7 years ago | 1 answer | 0
1
answerQuestion
How to store data from matlab in excel file after each iteration
How to store data from matlab in excel file after each iteration rows=1:4; col=1:2; v = 1 2 1 3 ...
7 years ago | 1 answer | 0
1
answerQuestion
How to collect information of different cells in a column vector
I have a cell array x{n,j} <3x8 double> <8x9 double> <5x9 double> <2x8 double> <8x9 double> <5x9 ...
7 years ago | 2 answers | 0
2
answersQuestion
How to find index of a value in cell array
I have this Cell Array ‘A’ of size 3 by 7 A = { 3 4 [] [] [] [] [] 2 6 -2 2 -2.1 2 2 -5 -5 25 1 [] [] []} I want to...
7 years ago | 2 answers | 0
2
answersQuestion
How to find row and column of a value in cell array
I have this Cell Array ‘A’ of size 3 by 7 A = { 3 4 [] [] [] [] [] 2 6 -2 2 -2.1 2 2 -5 -5 25 1 [] [] []} I wan...
7 years ago | 1 answer | 0
1
answerQuestion
How to find index of cell array
I have a cell array of A = [2] [4] [5] [7] [3] [10] [1] [9] its index is given by cod...
7 years ago | 1 answer | 0
1
answerQuestion
How to find maximum value of cell array
for a = 1:10 x{a} = xlsread(fileName, a, range); end How to find the maximum value of this cell array or ...
7 years ago | 1 answer | 0
1
answerQuestion
How to find the index of the element of a cell array which has the maximum size
for a = 1:10 x{a} = xlsread(fileName, a, range); end or simply take example of a cell array in this form A = [...
7 years ago | 1 answer | 0
1
answerHow to find maximum value of cell array
got the answer max([A{:}])
7 years ago | 0
| accepted
Question
How to remove second digit of first a column
I have one matrix A = [21 2; 34 3; 13 4] I want to remove first digit of first column, so that result shall be A= [1 2;4 3; 3 4]...
7 years ago | 1 answer | 0
1
answerQuestion
How to remove second digit of first a column
I have one matrix A = [21 2; 34 3; 13 4] I want to remove first digit of first column, so that result shall be A= [1 2;4 3; 3...
7 years ago | 2 answers | 0
2
answersQuestion
How to remove zero sum row from matrix
A=[1 2 3 4 5 6; 0 0 1 1 0 1; 0 0 1 0 1 0] Sum of second and third row if equal to zero, then in new matrix that...
7 years ago | 3 answers | 0
3
answersQuestion
How to count no of iterations of first digit.
I want to count number of times first digit of first column is repeating. If a = [11 3; 12 4; 13 3; ...
7 years ago | 2 answers | 0