Info

This question is closed. Reopen it to edit or answer.

How to solve the error of replication factors

1 view (last 30 days)
Prabha Kumaresan
Prabha Kumaresan on 18 Dec 2017
Closed: Walter Roberson on 18 Dec 2017
could anyone tell me Why I am getting the following error and how it can be solved
Error using repmat Replication factors must be a row vector of integers or integer scalars.
Error in --- B = reshape(repmat(max(reshape(C,2,[])),C,1),size(C))
where C= 0 0 0 0 0.0013 0 0 0 0 0 0 0.0006 0 0 0 0 0 0 0 0 0 0 0.0093 0.0081 0 0 0.0076 0.0076 0 0.0054 0.0424 0 0 0 0 0.0293 0 0 0.0259 0
  1 Comment
Walter Roberson
Walter Roberson on 18 Dec 2017
Edited: Walter Roberson on 18 Dec 2017
Duplicates https://www.mathworks.com/matlabcentral/answers/373470-how-to-solve-error-using-repmat

Answers (0)

This question is closed.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!