how can i eliminate this error..

9 visualizzazioni (ultimi 30 giorni)
ablaze
ablaze il 9 Feb 2017
Commentato: ablaze il 9 Feb 2017
key=[1 0 1 0 0 0 0 0 1 0]
P10=[3 5 2 7 4 10 1 9 8 6]
left=key(P10(1:5))
right=key(P10(6:10))
left_1=circshift(left,[1 -1])
right_1=circshift(right,[1 -1])
bit=bitconcat(left_1,right_1);
i am getting error--
Undefined function 'bitconcat' for input arguments of type 'double'.
Error in bit=bitconcat(left_1,right_1);

Risposta accettata

Walter Roberson
Walter Roberson il 9 Feb 2017
bitconcat applies only to fi() objects, not to regular numeric values.
Have you considered just
[left_1, right_1]

Più risposte (0)

Categorie

Scopri di più su Convert Image Type in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by