Community Profile Arnab Pal

Last seen: 3 days ago Active since 2017

Statistics

• Content Feed

View by

Question

How to stackedplot in Matlab 2016?
I need to plot multiple y axis with same x axis.

1 year ago | 2 answers | 0

2

Question

How to plot too many graph in a figure?
I am trying to plot 18 graph in a figure in 3 X 6 manner. But they are comming as too small. I want to increase length of the ca...

1 year ago | 2 answers | 0

2

Question

How to split an array by same length and make a matrix?
I have an array. a=[1 2 3 4... 24 25 26 27... 48 49 50... 72] I want a matrix from that array. i.e. b=[1 2 3... 24; 25 26 27......

2 years ago | 1 answer | 0

1

Question

Return back to a specific line
I have more while and for loop, I need to go beginning. ex: 1. while () 2. for () 3. if (conditi...

3 years ago | 1 answer | 1

1

Question

Generate 4 positive random numbers. Their summation should be equal to 6776.
Example: Generated random numbers are: [ 689 1158 2589 2340], summation is 6776.

3 years ago | 1 answer | 0

1

Question

Round to Nearest Multiple of 4.
If my calculation gives, a= 45, I want 44. Some example: 20 would be 20, 13 would be 12, 10 would be 12 or 8. How to round the n...

3 years ago | 1 answer | 0

1

Question

How to arrange ascending order only one column of a matrix?
Let's say, I have a=[25 10 85 35 71; 1 2 3 4 5] and output shout come b=[10 25 35 71 85; 2 1 4 5 3]

4 years ago | 2 answers | 0

2

Question

How to find the position of a number in an array?
If I have a vector, a = [7 8 8 2 5 6], how do I compute the positions of the value 8? I expect 2 and 3 or (1,2) and (1,3).

4 years ago | 5 answers | 0

5

Question

How to delete last number from a array?
I need, a=[8 9 5 8 7] to a=[8 9 5 8]. Every time I have to delete only last element. In my case, it will be complicated to delet...

4 years ago | 1 answer | 0

1

Question

How to generate random number within a sum limit?
Generate 5 random numbers, where their sum should be less/equal to 50.

4 years ago | 2 answers | 0

2

Question

How to check a number is in a array or not?
a=[8 9 6 5 3], I want to know 5 is there or not.

4 years ago | 2 answers | 0

2

Question

How to generate random numbers between two numbers without any specific number?
I want to generate random numbers between 2 and 33. But do not want a(i) number. a(i) can be a single number between 2 to 33.

4 years ago | 4 answers | 0