how to extract some elements in the array using matlab?

1 回表示 (過去 30 日間)
M.S. Khan
M.S. Khan 2020 年 12 月 3 日
編集済み: M.S. Khan 2020 年 12 月 3 日
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)

採用された回答

Deepak Gupta
Deepak Gupta 2020 年 12 月 3 日
Hello Mr. Khan,
Slice_z = Slice_z(Slice_z >= 0 & Slice_Z<=3)
Should work.
Cheers,
Deepak
  1 件のコメント
M.S. Khan
M.S. Khan 2020 年 12 月 3 日
編集済み: M.S. Khan 2020 年 12 月 3 日
Hi Dear Deepak Gupta, thanks for your kind cooperation. Regards

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeColormaps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by