Not enough input arguments.
Show older comments
Hi,
I'm trying to use the repmat function :
for i=1:size(test,1)
a=(test{i,2 :4} - train{: , 2:4})
b=repmat(a)
end
But I only obtain this error :
Error using repmat
Not enough input arguments.
1 Comment
Matt J
on 11 Dec 2020
You should believe what the error message is telling you.
Accepted Answer
More Answers (1)
You should believe what the error message is telling you. In the documentation for repmat, you will find no single-argument syntax like the one you've used.

1 Comment
Sophia Nador
on 11 Dec 2020
Categories
Find more on Multidimensional Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!