Vectoristion of if statement

2 views (last 30 days)
rakesh kumar
rakesh kumar on 4 Apr 2021
I have a nested for loop i and j and a matrix [x]. For i= 1, I have [x ]= M1 and for i=2 I have [x] = M2 . I want a matrix m= [M1 M2 ]. Actually my value of i is very large but this method will help solve my problem.

Answers (0)

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!