I need to solve this, but keep getting an error about the matrix, probably dealing with the x and y variables set.
L=3; W=5; x=linspace(0,L,10); y = linspace(0,W,7); N=9; P = 1:2:Nw = 2/pi .* sum(2./P .* sin(P.*pi.*x./L) .* (sinh(P.*pi.*y./L) ./ sinh(P.*pi.*W./L)))
there is a picture attached, showing the summation, I might not even be doing this right Im new to matlab. It has to be done using the sum function not symsum, a for loop also can be done to solve this if possible.
Best Answer