I have Mavericks installed, so that's Xcode v5.0. I have overwritten 10.7 with 10.8 in mexopts.sh. Still the program attached won't work. It is a make file for libsvm.
Please help. Homework is due in days.
Best Answer
I closed matlab and then reopened it. Tried make.m again for libsvm. It appears to have worked (1 warning), since a few mexmaci64 files were created. Haven't yet tried to use svmtrain, but at least the combination of replacements for 10.7 with 10.8 and a restart seem to have addressed the make.m problem.
In your for-loop, x and y are assigned a value one at a time. x and y are always over-written. So at the end of the loop, you end up with x==20 and y==20. The plot just shows one dot.
In the second approach, x is a vector and so is y.
Best Answer