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);

Réponses (1)

Walter Roberson
Walter Roberson le 25 Fév 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

Cette question est clôturée.

Tags

Question posée :

le 25 Fév 2017

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by