MATLAB: How to transpose Al=0:.01:.1; as “Dimensions of matrices being concatenated are not consistent” error message is coming in matlab for plotting a function? How to solve this

plotting

How can I transpose Al=0:.01:.1; as "Dimensions of matrices being concatenated are not consistent" error message is coming in matlab for plotting a function? How can I solve this?

Best Answer

Firstly for plotting, the dimensions have to be equal. Secondly, two ways of transposing, By using command, or with an apostrophe:
AI=transpose(AI)
AI=AI'