Matching elements from two different matrixes.
1 回表示 (過去 30 日間)
古いコメントを表示
Karanvir singh Sohal
2021 年 3 月 1 日
編集済み: KALYAN ACHARJYA
2021 年 3 月 1 日
I have one matrix with fixed elements say Shut
I want to generete another matrix which contains the elements from Shut matrix having elements withing LowerLimit and UpperLimit range.
Shut = [152.40 228.60 304.80 381.00 457.20 533.40 609.60 685.80 762.00 838.20 914.40 990.60 1066.80]
LowerLimit=200
UpperLimit=500
expected result
a = [228.60 304.80 381.00 457.20]
0 件のコメント
採用された回答
KALYAN ACHARJYA
2021 年 3 月 1 日
編集済み: KALYAN ACHARJYA
2021 年 3 月 1 日
a=Shut(Shut>LowerLimit & Shut<UpperLimit)
a =
228.6000 304.8000 381.0000 457.2000
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!