The function without if statement
情報
この質問は閉じられています。 編集または回答するには再度開いてください。
古いコメントを表示
How to vectorize this function with if statement
Number = 100
VectorIm = zeros(5000, Number); %%% initialise VectorIm with 5000 and 100
i = 1; %%% counter of column
%%% Values - distance between VectorIm image and ManyVecImage image (float value)
0 件のコメント
回答 (1 件)
Bjorn Gustavsson
2020 年 11 月 17 日
That should to be the same as:
VectorIm = ManyVecImage(:,Values < 10000);
HTH
0 件のコメント
この質問は閉じられています。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!