if trueb=5;muH=b*sqrt(pi/2);n=100000; % n different vectors
H= rand(1,1000); h=(muH/mean(H))* H; %vector
max=zeros(1,n);for k=1:n %it creates n different vectors each containing 1000 numbers
max=max(h(k)); %extract maximum from each n vectors
endend
MATLAB: How can I create a series of same length vectors, extract from each the maximum number, and collect the maximum numbers in a new vector
MATLAB and Simulink Student Suitevectorvectors
Related Question
- Creating random vector with 10 different lengths
- How to solve equations with symsum inside
- How to convert all vector elemens into zeros but not the maximum and the minimum of it
- Can anyone help me to get the maximum value among all the values for the following result.
- How to write a matlab-function which counts the n! with help of a vector
Best Answer