필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

"Integers can only be combined with integers of the same class, or scalar doubles" Error

조회 수: 1 (최근 30일)
sai kumar
sai kumar 2017년 10월 25일
마감: MATLAB Answer Bot 2021년 8월 20일
i am getting this error for the below code. Can anyone help with this. the elements of c1 are of data type int32. I cannot change that size. Is there any other way to get through this.
Integers can only be combined with integers of the same class, or scalar doubles.
Error in trial>decryption_Callback (line 454)
m1(l)=mod(c2,n);
c1=reshape(c,1,[]);
s=numel(c1);
m1=c1;
for l=1:s
c2=c1(l)^msk;
m1(l)=mod(c2,n);
end
m=char(m1);

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by