Choose a web site to get translated content where available and see local events and offers. Learn more about vector same length matlab plot error MATLAB. Similar Triangles In A Parallelogram Gcse Maths Revision Exam Paper Practice Help Gcse Math Gcse Maths Revision Exam Papers Select a Web Site. . Vectors must be the same length. Vectors must be the same length. Hope this would be. You can solve the. Error in ex line 24 plot tabs Y. For the plot function to work x and y must have the same number of elementsyour x vector got 51 elements and the simulated and actual vectors just 11. The assignment gives me 2 graphs and asks me to create y1t and y2t from the plotspectral lines but also y3t which is y1y2. Its a little hard to second guess what you are trying to do but it seems that you need to pad vector B with zeros. But I cannot see what is proccing the error. Any help would be appriciable....