Community Profile

photo

Arnab Pal


Last seen: 4 months ago Active since 2017

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


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

10 months ago | 2 answers | 0

2

answers

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

10 months ago | 2 answers | 0

2

answers

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

answer

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

2 years ago | 1 answer | 1

1

answer

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.

2 years ago | 1 answer | 0

1

answer

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

2 years ago | 1 answer | 0

1

answer

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]

3 years ago | 2 answers | 0

2

answers

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

3 years ago | 5 answers | 0

5

answers

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

answer

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

answers

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

answers

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

4

answers

Question


How to detect the repetition of any number in a array?
Say a=[4 5 8 9 4], How to detect this set has repeated numbers? I do not want to know the number, I just want to know that "a se...

4 years ago | 1 answer | 0

1

answer