Feeds
질문
In the following Simulink model why am I getting a double step at the transition from one step to the next?
dplla5.slx
거의 11년 전 | 답변 수: 0 | 0
0
답변질문
probability of a run of k heads or more in N tosses of a fair coin N>>k
is there a code for this. One solution is given in http://www.drdobbs.com/architecture-and-design/20-heads-in-a-row-what-are-t...
대략 12년 전 | 답변 수: 3 | 0
3
답변질문
program behavior due to editor issues
In the attached code adding the two line commands near the top changes the behavior of the program from how it behaved without t...
대략 12년 전 | 답변 수: 0 | 0
0
답변질문
breaking an if loop
In the following script, why doesn't the break in line 24 get executed? clf xx = 1:.01:2; vec = 1:.01:2; for i=1:10...
대략 12년 전 | 답변 수: 3 | 0
3
답변질문
In the following script, shifting the % symbols to the line below where they are shown givies different results. The version shown below gives the correct result. The versison with the % signs moved gives an incorrect result. Any ideas?
% trajetory 1 clf xx=1:10;y=[1 0 0 0 0 0 0 0 1 0];stem(xx,y) hold on m = .1; xz(1) = 11; y(1) = 1.1; f...
12년 초과 전 | 답변 수: 1 | 0
1
답변질문
what is wrong with the following code. I should have sent the full script. Sorry. On my macine the vector 'x' ranges from 0 to 10.1
% trajetory 1 clf m = .1; %n = .2; % xx=1:10;y=[1 0 0 0 0 0 0 0 1 0];stem(xx,y) %hold on x(1...
12년 초과 전 | 답변 수: 1 | 0
1
답변질문
What is wrong with the following script?
x(1) = 0; i = 1; y(1) = 1.1; while x(i) <= 1.0 %x(i)= i; x(i+1) = x(i) + 0.1; y(i+1) = y(1)...
12년 초과 전 | 답변 수: 2 | 0
