help in dwt water marke

Error using reshape To RESHAPE the number of elements must not change.
Error in Untitled (line 17) message_vector=round(reshape(message,Mm*Nm,1)./256);

Answers (1)

Walter Roberson
Walter Roberson on 25 Feb 2017

0 votes

Whatever your Mm and Nm are, they do not multiply out to numel(message)
You should compare numel(message) to Mm * Nm

This question is closed.

Tags

Asked:

on 25 Feb 2017

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!