generate a combination
显示 更早的评论
there are 4026 datas i want to take 2data from top 100 to genarate FCI,can u tell how to process please
2 个评论
the cyclist
2011-10-31
Please edit your question to provide much more detail about what you want. It is not possible to understand what you mean. For example:
How are your 4026 data stored?
What do you mean by "top 100"?
How do you want to choose the 2 data from the 100? Should it be random?
Etc.
Remember we know NOTHING about your problem except what you tell us here.
FIR
2011-10-31
采纳的回答
更多回答(1 个)
Daniel Shub
2011-10-31
You are still not giving us much to go on ...
randi(100, 2, 1)
will give you two random number between 1 and 100.
doc randi
will tell you how the randi function works.
类别
在 帮助中心 和 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!