MATLAB: Basic plotting using bar function: is the solution correct basic plotting X vector range 1 to 100 in steps of 5. Y vector is square root of each x value. Use bar function. Best Answer bar(x,y) Related SolutionsMATLAB: Is this correct function A= matrixfn(m,n) A = zeros(m,n) ; for i=1:m for j=1:n A(i,j)=i^2 + j^2; end endSave the above function in a folder. Go to that folder in MATLAB. And you can call it by:A = matrixfun(2,2) ;B = matrixfun(5,5) ;C = matrixfun(6,9) ; MATLAB: Isjava not correct javacomponent is not a documented routine, and the output of it is not specifically a java object (it is a handle to a component, but the handle could be a MATLAB handle.)You can get the java object by using the java method on the javaHandle Related QuestionHow to plot a bar on a bar in a bar graph
Best Answer