Feeds
질문
Hello everybody, I want to save the following code result in matrix without overwrite the old result and finally export it as xls file?
for n=1:5 for z=1:4 sheetNumber = z; range = 'A1:A50'; if(z==1) Weight = rot90(W1); elseif(z==2) Weight = rot90(W2...
거의 4년 전 | 답변 수: 1 | 0
1
답변질문
Hello every one, How can I generate randomly only one number between two values (e.g.: 0.01-1)each time?
a=ran(0.2,1.12) b= ran(0.01,0.1) function T = ran(min,max) T= fix((max-min).*rand(1,1) + min)+1; end This code doesn't give...
거의 4년 전 | 답변 수: 1 | 0
1
답변질문
Hello Everyone, I am new in MATLAB and I want to get result of this code(MATLAB2021a), its run correctly but doesn't show the result. Anyone can help me?? thanks in advance
c=[ ]; global d; c(1,d)= ran(10,21); function x = ran(min,max) x= fix ((max-min).*rand(1,1) + min)+1; end It should give...
대략 4년 전 | 답변 수: 1 | 0


