Hello, i have two matrices, one has fixed size 100×1 and the second one changes lets say could be 97×4 or 103×4, i want to multiply just the first columns of these two, but how can i multiply them, i just want to fill the rest of the rows with zeros if its less than 100 ,and i want to remove the last three columns if it is more than 100, Any ideas? Thank you
MATLAB: Fill matrix with zeros
arraysindexingmatrix arraymultiplicationzeros
Related Question
- Is it possible to multiply elements in a matrix greater than a certain value without using a loop
- Matrix manipulations of columns
- Calculate the mean of multiple 3D arrays layer by layer
- How to insert columns into an existing matrix without deleting existing columns
- Scatter plot with different colours
- How to reshape each column of a matrix
- Finding similar values in matrices and removing them
Best Answer