Statistics
RANK
40,898
of 300,786
REPUTATION
1
CONTRIBUTIONS
13 Questions
0 Answers
ANSWER ACCEPTANCE
76.92%
VOTES RECEIVED
1
RANK
of 21,091
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Discussions
AVERAGE NO. OF LIKES
Feeds
Question
How to apply a condition on array?
a = [1 2 3 4 5] x(a) = [15 20 45 25 30] b = [6 7 8 9 10] x(b) = [20 25 30 15 15] t=40 the below array ab is a random per...
7 years ago | 0 answers | 0
0
answersQuestion
How to split array vector into sub vectors based on the max value of the original array?
I have this row vector which can contains fractional or discrete integer values: a = [ 120.9, 50.5, 20.3, 80.7, 12 , 70, 100, 1...
7 years ago | 2 answers | 0
2
answersQuestion
How to split a row vector into sub vectors with different sizes?
Let h = [1 2 3 4 5 6 7 8 9 10 11] n1= 3, n2= 3 , n3 = 2, n4= 2 how can I create sub vectors(m1,m2,m3,m4) based on the length...
7 years ago | 1 answer | 0
1
answerQuestion
How to ensure that values between ones is less than or equal to specific number?
I have these row vectors: T = 1:11 C = T(1) a = T(2:6) b = T(7:11) Da = [10 12 8 10 7]; % these vaules are corresponding to...
7 years ago | 0 answers | 0
0
answersQuestion
How to create a random permutation from two sets of numbers in one vector?
Assume that I have two vectors: a = 1 2 3 4 5 b= 6 7 8 9 10 how can I generate a vector of random permutation of combin...
7 years ago | 1 answer | 0
1
answerQuestion
How to generate a vector of two separate intervals without overlapping?
Assume that we have two vectors: a = 1 2 3 4 5 b= 6 7 8 9 10 how can I generate a vector of random permutation of combi...
7 years ago | 1 answer | 0
1
answerQuestion
Can you please help to plot this figure in matlab?
<</matlabcentral/answers/uploaded_files/121306/hajem55.jpg>>
7 years ago | 1 answer | 0
1
answerQuestion
How to calculate distance between array elements?
Hi, Let say I have this array: A = [1 3 5 1 4 1 2 6 1] the distances between elements are: 1-3-5-1: 1 to 3 = 2 3...
7 years ago | 1 answer | 0
1
answerQuestion
How to generate integer random numbers of specific range including all numbers between the range?
Hello, I have this code which does not work as I want: n = 1; m = 5:10; for p= 1:n Top(p,:) = randperm(m) end ...
8 years ago | 3 answers | 0
3
answersQuestion
How to remove zeros from end of different sizes of rows of matrix?
Hi, Let say a result of array of different sizes of rwos: array = 1 2 3 0 0 ...
8 years ago | 3 answers | 0
3
answersQuestion
How to find elements between zeros in matrix?
Hello, I have this matrix 3x3: A = [3,4,6,0,2,7,10,5,0,1,0,8,9,0; 0,5,2,0,1,8,9,0,4,6,10,7,0,3; 1,0,7,2,0,4...
8 years ago | 3 answers | 0
3
answersQuestion
Move and swap elements between vectors using loops and functions?
lets say there are four vectors each has different dimension as follow: A=[5 7 11 15 17], B=[4 14 19 21], C=[2 6 9 10 13 18], D...
8 years ago | 1 answer | 0
1
answerQuestion
How to insert zeros in matrix randomly?
I have this matrix: A = [2, 1, 4, 6, 2; 9, 4, 6, 1, 2; 5, 3, ...
8 years ago | 1 answer | 1

