MATLAB: What is the error index exceeds matrix dimensions when i run my program and try to get product of vector matrix error message appear </matlabcentral/answers/uploaded_files/23122/Capture.PNG> but when i clear and try prod function there is no error Best Answer When you get the error, type this in the Command Window:which prod -allYou may have a variable named ‘prod’ that is ‘overshadowing’ the MATLAB prod function.If one (likely the first) in the list that returns in the Command Window is:prod is a variable.That is the problem. Rename that variable to something other than ‘prod’ and the problem will not recur. Related SolutionsMATLAB: Can we find the area of curve(i have all data points) with no function Try with the trapz functionhttps://fr.mathworks.com/help/matlab/ref/trapz.html MATLAB: Hi, I wanted to see how I can solve the differential equation. A spring-mass system with damping in our explanation here. White noise input and a differential equation in order to resolve ode 45 is the Random function. all about ode Related Question
Best Answer