Info

This question is closed. Reopen it to edit or answer.

what should I do

1 view (last 30 days)
Mina Elfar
Mina Elfar on 24 May 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
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
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
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
Steven Lord on 24 May 2020
load your data into MATLAB then see the "Indexing with Logical Values" section on this documentation page.

Community Treasure Hunt

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

Start Hunting!