Error using title of plot
9 views (last 30 days)
I want to use plot with title command. But when I try title of :
title(['Plots of ... with beta1=',num2str(beta1)','alphabar=',num2str(alphabar)]);
it gives me error saying :
Error using horzcat
Dimensions of matrices being concatenated are not consistent.
it is working. So beta1 and alphabar should be indicated somewhere in figure but how?
Mahdiyar on 6 Apr 2015
Can you send the values of "beta1" and "alphabar"?
The problem is about the dimention of "beta1" or "alphabar". One of them is a column vector.
Please check the value of these two variables.