Community Profile

photo

alok ranjan


Last seen: 21 days ago
2 total contributions since 2021

Contributions in
View by

Question


Unable to perform assignment because the left and right sides have a different number of elements.
clear syms X1 X2 X3 X4 xx=[X1,X2,X3,X4] X1 = xx(1); d = length(xx); term1 = (X1-1)^2; sum = 0; for ii = 2:d xi = xx(i...

1 month ago | 2 answers | 0

2

answers

Question


i'm getting this error "Unable to perform assignment because the left and right sides have a different number of elements"
clear syms X1 X2 X3 X4 xx = [X1, X2, X3, X4] d = length(xx); sum = 0; for ii = 1:(d/4) term1 = (xx(4*ii-3) + 10*xx(4*i...

1 month ago | 1 answer | 0

1

answer