Input matrix for scenarios
1 次查看(过去 30 天)
显示 更早的评论
I have a set of scenarios say 1,2,3. And each scenario has a set of zero-one matrices showing if an arc has failure or not. for example: scenario 1 will have [1,1,1;0,1,1] and scenario 2 will have [1,0,0;0,1,0].( 1 representing no failure and 0 representing failure) I dont know how to write it on matlab. I would be grateful if anyone of you could help me out with it.
Thankyou!
0 个评论
采纳的回答
Image Analyst
2013-5-28
What do those 2 row by 3 column matrices represent? Why can't you just do
scenario1 = [1,1,1;0,1,1];
scenario2 = [1,0,0;0,1,0];
and the same for scenario3? It seems so obvious that I must be missing something.
4 个评论
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!