Info

此问题已关闭。 请重新打开它进行编辑或回答。

what should I do

1 次查看(过去 30 天)
Mina Elfar
Mina Elfar 2020-5-24
关闭: MATLAB Answer Bot 2021-8-20
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 个评论
Steven Lord
Steven Lord 2020-5-24
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 2020-5-24
I removed the meaningless flag.
lessThan1 = yourMatrix(yourMatrix < 1)
Attach the .mat file if you want more help.

回答(1 个)

Steven Lord
Steven Lord 2020-5-24
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!

Translated by