MATLAB: X=[x1(:,:) x1(:,:)] callbackmathematicsMATLABmatlab function help me please if you have know how about x=[x1(:,:) x1(:,:)] ? what is doing it? Best Answer >> x1 =[ 1 2 3 4];x = [x1(:,:), x1(:,:)]x = 1 2 1 2 3 4 3 4 Related SolutionsMATLAB: ‘Matrix dimensions must agree error’ You need a mesh to create contour plotbbfun = @(x1,x2) (4-2.1.*x1.^2+x1.^4/3).*x1.^2 + x1.*x2 + (-4+4*x2.^2) .*x2.^2; x1 = -2:1/100:2;x2 = -1.5:1/100:1.5;[X1, X2] = meshgrid(x1, x2);pltvar = bbfun(X1, X2);contour(X1, X2, pltvar,20) MATLAB: Place array in a matrix Perhaps I'm misunderstanding but if x = [1.0000 0 0.5000 1.0000 0.5000 1.5000 0 -1.0000 -1.0000 1.0000 0.5000 -1.0000];which is a 6x2 array, then wouldn't x*x'be the desired 6x6 array? Related QuestionHow to write u= exp(1/((x-x_0)(x-x_1))) for x_0Symbolic array transpose error“Z must be a matrix, not a scalar or vector.” PLEASE HELP!How can i plot y = 1/x*(x-1)
Best Answer