vectorize for loop while a matrix should be splited inside the loop
1 view (last 30 days)
Hi guys, I want to vectorize this for loop but not much progress unfortunately. I appreciate your helps in advance.
for j = 1 :j
where kernel is a function which receives two vectors and calculates their kernel value. the X is an n by m matrix. I wanna calculate the kernel of each row of the matrix X with matrix y can save it in MIxy.