How to insert the data into empty Array?

조회 수: 8 (최근 30일)
SeokMin Lee
SeokMin Lee 2018년 3월 26일
편집: SeokMin Lee 2018년 3월 26일
Hello, Thanks for answering my Q
I have problem as which like the my title.
here is my code.
syms i j
x=[3 4 5]
y=[3 4 -4 6]
A = int16.empty(12,0)
for i=3
for j=4
A(j*i)=mod(x(i),y(j))
end
end
I want to express that each calculated data goes each element in the Array 'A'
How can i handle this..
Thank you all (^오^)

답변 (0개)

카테고리

Help CenterFile Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!