find multiple maximum imaginary part
古いコメントを表示
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 .....
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Logical についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
