Community Profile

photo

Vishal Sharma


2017 以来アクティブ

Statistics

  • Thankful Level 3

バッジを表示

Content Feed

表示方法

質問


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]

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

1

回答

質問


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...

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

1

回答

質問


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...

約5年 前 | 3 件の回答 | 0

3

回答

質問


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...

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

2

回答

質問


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'] [' '] [' '] [' '] ; ...

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

1

回答

質問


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 ...

5年以上 前 | 3 件の回答 | 0

3

回答

質問


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 ...

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

1

回答

質問


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...

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

1

回答

質問


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...

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

1

回答

質問


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...

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

1

回答

質問


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 ...

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

1

回答

質問


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 ...

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

0

回答

質問


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...

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

1

回答

質問


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...

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

1

回答

質問


How to create array of alphanumeric
I want to make array of A1 A31 A61 A91 Please suggest me code

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

1

回答

質問


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 ...

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

1

回答

質問


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 ...

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

1

回答

質問


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...

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

1

回答

質問


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 ...

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

1

回答

質問


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 ...

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

2

回答

質問


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...

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

2

回答

質問


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...

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

1

回答

質問


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...

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

1

回答

質問


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 ...

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

1

回答

質問


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 = [...

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

1

回答

回答済み
How to find maximum value of cell array
got the answer max([A{:}])

5年以上 前 | 0

| 採用済み

質問


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]...

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

1

回答

質問


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...

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

2

回答

質問


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...

5年以上 前 | 3 件の回答 | 0

3

回答

質問


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; ...

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

2

回答

もっと読み込む