what should I do
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Hi all,
I have a I have a .mat file and it result could be either biger than 1 or less than 1 and I want to have the calues that less than 1
what shold I do ?
2 Comments
Steven Lord
on 24 May 2020
Why did you flag your own question as unclear? Flags are intended to call attention to spam, questions that are off-topic for MATLAB Answers, questions that don't have enough information included to be answered, that sort of thing. It's not intended for "I find something about MATLAB unclear so I'll flag my questin about that something as unclear."
Image Analyst
on 24 May 2020
I removed the meaningless flag.
lessThan1 = yourMatrix(yourMatrix < 1)
Attach the .mat file if you want more help.
Answers (1)
Steven Lord
on 24 May 2020
0 votes
load your data into MATLAB then see the "Indexing with Logical Values" section on this documentation page.
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!