Feeds
질문
My script is working wrong with nested for loops
d = input('enter a number:') figure for b = 0:0.5:d plot(b, 0, '*k') pause(0.05) end for c = 0:0.5:d plot(0, c,...
거의 5년 전 | 답변 수: 2 | 0
2
답변질문
Plotting Square Consisting of '*'
I am trying to create a square consisting of '*' with for loop. I did this a = input('enter a number:') for ii = 1:a for ...
거의 5년 전 | 답변 수: 2 | 0
2
답변질문
Creating matrix with diag command
I am trying to do this a = input('enter a number: ') for i=1:1:a for j=1:1:a z(i,j)= diag(a) end end z I...
거의 5년 전 | 답변 수: 1 | 0

