Hua-Zhou / TensorReg

Matlab toolbox for tensor regressions
http://hua-zhou.github.io/TensorReg/
27 stars 9 forks source link

Error using horzcat #3

Closed Haobo1108 closed 2 years ago

Haobo1108 commented 4 years ago

Dear Prof. Zhou,

I find a similar error concatenation error when I use kruskal_reg function. Code.zip

Error using horzcat Dimensions of arrays being concatenated are not consistent.

Error in kruskal_reg (line 207) Xj = reshape(Md{j}*khatrirao([beta.U(d:-1:j+1),cumkr]),...

I found that the error is generated at this step: [beta.U(d:-1:j+1),cumkr].

I have uploaded the script and the data. FYI, system: windows 10; matlab: R2019b. Thanks for your time!

Sincerely, Haobo

ibrahimcansu commented 3 years ago

Hello @Haobo1108

Did you solve the problem? Currently, I encounter same problem.

Thanks, Ibrahim.

Haobo1108 commented 3 years ago

No. I didn't.

Best, Haobo

deeplearner0731 commented 2 years ago

use tensor toolbox 2.6 instead of 3.2

lebornjj commented 2 years ago

use tensor toolbox 2.6 instead of 3.2

nb

Hua-Zhou commented 2 years ago

Update webpage (https://hua-zhou.github.io/TensorReg/) to point to Tensor Toolbox v2.6