k=rand(192,1)
syms k1 t
for i=1:4
k1=k((48*i),((48*i)-47))
a1 = symsum(k1*(2^(t-(48*i)+47)),t,((48*i)-47),(48*i));
a=a1/(2^48)
end

 채택된 답변

Birdman
Birdman 2018년 1월 3일
You consistently try to reach columns other than 1 for k while i is not equal to 1, which is invalid.
k=rand(192,1);
syms k1 t
for i=1:4
k1=k(48*i,1)
a1 = symsum(k1*(2^(t-(48*i)+47)),t,((48*i)-47),(48*i));
a=a1/(2^48)
end

댓글 수: 2

Kindly send the code for this...
Try something, even if it does not work and then I can help. Furthermore, try something and open it as a new question in forum. Your chance for getting an answer will be higher.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Platform and License에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

질문:

2018년 1월 3일

댓글:

2018년 1월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by