Error: Matrix dimensions must agree
Show older comments
I am trying to execute this piece of code but cannot figure out why I am getting this error, any help is much appriciated.
yp=kron(eye(32),[-1/.5 0;1 0]).*ones(2*32,1)+80*pi.*kron(ones(32),1);[1/.5;0]+2.*90.*diag(ones(2*32-1,1),1).*(kron(ones(32,1),[;1/.5])).*cos(zeros(2*32-1,1)).*(sin(8.*((1/64):(1/64):10)-ones(2*32,1)))./.5
Accepted Answer
More Answers (0)
Categories
Find more on Resizing and Reshaping Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!