Johnny
Followers: 0 Following: 0
Feeds
질문
Forming loop to simplify codes
Can you help me use loop to simplify the following code and produce the same graph? c=5 dista=log([12:-1:8 6 4:-1:1]+retint) ...
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
A question about matrix
By following codes, I get a 50x50 matrics with randon 1 and 0. Now I want to specify how many 1 and how many 0 are in this 50x50...
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
To make coding simplier and have the same plot
Is there any ways to make my coding simplier at the same time keep my plot result as same as my original one? retint05 = 5 ret...
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
a question about plotting
Q. I have many S seperately with different on lines on the plot, lines with different k have different colours and shapes. I ch...
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
a easier way to do vector
Is there any easier or more efficient way to calculate SF when there is different k? I = [1:100] k03 = 0.3 k1 = 1 k3 = 3 ...
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
Need help to vectorize a for loop
Pls help... how to vectorise this for loop unimodal=[28 42 46 49 52 55 58 61 64 68 82] for n=1:11 ru(n)=(unimodal(n)-min(...
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
vectorisation a for loop
c=5; retint=0; dist=log([10:-1:1]+retint); for i=1:length(dist) eta=exp(-c*abs(dist(i)-dist)); discrim(i)=1/sum...
4년 초과 전 | 답변 수: 2 | 0