Limiting the columns of an array.
Show older comments
I have a couple of vectors and arrays that are being used in mathematical calculations but unfortunately their dimensions wont seem to match up.
Three of the dimensions are 1 X 401 whilst one of them is 1 X 402. The longer dimension has 0 as its last value and it is not needed later in my code. Is there any command I can use to limit the columns that data is pumped out into? Potentially just something that I can use to cut off that last value after they come out of an equation before it is used in another equation where it has to match 1 X 401?
Thanks very much!!!
Joe
Accepted Answer
More Answers (0)
Categories
Find more on Data Type Identification 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!