Community Profile

photo

Serhii Sheinych


Attivo dal 2019

Statistiche

  • Thankful Level 3

Visualizza badge

Content Feed

Visto da

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta