photo

Serhii Sheinych


Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


How to rewrite the maximum element of an array by an avarage
I have an array of 100 random numbers and i need to detect the maximum value of an array and then replace it by mean value of an...

5 years ago | 1 answer | 0

1

answer

Question


How to implement this formula in MatLab?
n is a constant = 100 x is an array of 100 rand elements

5 years ago | 1 answer | 0

1

answer

Question


How to find value which is berofe max value of an array?
I have an array, let it be r1 = rand(1,100). I need to find max value and a value which is before maximum. How can i do it? Ma...

5 years ago | 2 answers | 0

2

answers

Question


How to built a histogram in MatLab as Excel did it?
I have a vector of 7 integer values and try to built a histogram, but I have a result, which i did not expected. I've built a h...

5 years ago | 1 answer | 0

1

answer

Question


How to realize this cycle in MatLab?
int i; int y1; int y2; int y3; int y4; int y5; int y6; int y7; for (i=0; i<100; i++){ if(x[i]>=m && x[i]<m+s) y1++; e...

5 years ago | 1 answer | 0

1

answer