How can I copy all elements, which > 4 to vector V?

I have a M = magic(5) matrix. How can I copy all elements, which > 4 to vector V?

More Answers (0)

Categories

Find more on Computational Geometry in Help Center and File Exchange

Asked:

on 17 Jan 2023

Answered:

on 17 Jan 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!