MATLAB: How to solve ?Error using/Matrix dimensions must agree.’ no lineal I am working with Matlab app designer, while i was trying to run the interface the program send this message, what is the proble in my code? Best Answer Try replacing the line assigning x2 with the following using ./ to get element by element divisiony2 = K./(exp((K*x-K*C2))-b); Related SolutionsMATLAB: Undefined function ‘ln’ for input arguments of type ‘double’. The natural logarithm function in MATLAB is named log not ln. There are also log10 and log2 functions listed in the See Also section at the end of the log documentation page. MATLAB: How to save a number from the loop but only from for iterations?(If the loop runs through currently 4 times i want to subtract the 4th-previous(3rd) integer storage = nan(1,4);y = 1while app > emax app = x + y; storage = [storage(2:4), app];end Related QuestionError: x2(2): out of bound 1 ??? what does it mean in the code and how do i change it
Best Answer