I need help on a logical vector
古いコメントを表示
Hello,
I hope everyone is okay.
I have a question regarding a logical vector.
let's suppose I have the vector
d=0.1:0.1:0.6;
and I want to obtain a logical vector that meets this condition
N= d==0.4000 & d==0.1000 ;
The result of this operation has to be a vector like this
N=[0 0 0 1 0 1 ] 1x6 logical
Can someone here help me?
Thank you
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Resizing and Reshaping Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!