how to extract some elements in the array using matlab?

I have an array vector. i want to extract some elements.
How will i perform. Please help me. Regards for all your coopeartion.
how to extract only the elements which are in the range between 0 and 3.
Slice_z
Slice_z = Slice_z(Slice_z >= 0 && Slice_Z<=3)

 采纳的回答

Hello Mr. Khan,
Slice_z = Slice_z(Slice_z >= 0 & Slice_Z<=3)
Should work.
Cheers,
Deepak

1 个评论

Hi Dear Deepak Gupta, thanks for your kind cooperation. Regards

请先登录,再进行评论。

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Propagation and Channel Models 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by