how do i fix this Unable to perform assignment because the left and right sides have a different number of elements.
2 views (last 30 days)
Prasad Parameswaran on 22 Oct 2019
This is because of dimension mismatch. This can be resolved by initialiszing the variables. If the dimension of variable(say x) is known (for example m x n) initiallize " x = zeros(m,n)". Do this for all the variables. If not able to solve the issue share the whole code.