How can I write a program in a script file that creates a n x m matrix that the value of the each element in the first row is the number of the column? The value of each element in the first column is the number of the row. The rest of the elements each has a value equal to the sum of 2 times of the element above it and the element to the left.
MATLAB: How can i create an n x m matrix that the value of each element is the first row is the number of the column
create a script file that creates a n x m matrix
Related Question
- Fill column elements with the column number
- How to create an m by n matrix with each row having the numbers 1 to n in a random order
- How to efficiently replace value at the n last column
- How to collect the numerical values of marginal areas in an array????(help immediately)
- How to set value for each column
Best Answer