find multiple maximum imaginary part
Mostrar comentarios más antiguos
Hi, i have a 300x625 complex double, i need to find the Maximum imaginary part in each column, considering that each column contains multiple real parts that has the same maximum i need....?
camp = (ca2 + ca1f)/2; % 300x625 imaginary double
[Mcamp,m] = max(imag(camp));
McampY = Mcamp; % the Maximum imaginary
McampX = real(camp(m)); % the corresponding Real
if a column has 4 numbers that has the same maximum imaginary part, would the above code find them all ? i think it finds the first one only .....
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Logical en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
