How are we supposed to know what is the optimum? To make your question clear, post a short example (4 rows for example) and explain clearly what you want, define what optimum means for your problem
Choosing optimum values from a matrix
1 次查看(过去 30 天)
显示 更早的评论
Lets say I have a matrix A. The matrix contains m rows and n columns. Now for each row, some of the columns are filled with numbers and the rest are just NaN. The numbers which are filled for each row, out of all those only a single one is the right candidate. The rows here actually indicate the time of the day and columns represent the possible values of a parameter for each of the row. A known relationship exists between the time of the day and that value of the parameter. As I said not all the values in each row are the right values of that parameter. One way could be to choose different combinations of that parameter among the rows and as a known relationship exist between the value of the parameter and the time of the day, an optimum choice can be made. Can anyone here help me how to code this thing in Matlab?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!