Feeds
질문
while loop doesn't produce correct result
sum = 0; n = 0; C = (2/(pi*(1-4*n^2)))^2; while sum < (1/2)*0.99 n = n+1; sum = sum + C; end disp...
거의 9년 전 | 답변 수: 1 | 0
1
답변질문
plotting sin wave signal
Hi, I have the following signal, f(t) = |sin(t)|, -(pi/2)<= t <= (pi/2), what is the code to plot it for three whole periods? Th...
거의 9년 전 | 답변 수: 1 | 0
1
답변질문
Integer division problem (gear ratio related)
Let's say A/B = 2.417. A and B both must be integers. I need to write a script to list some possible combos of A and B. Also 2.4...
대략 9년 전 | 답변 수: 2 | 0
2
답변질문
How to plot separate graphs?
I have plotted a few graphs in different sections of my scripts, however when I run the m-file it will only show the last graph,...
9년 초과 전 | 답변 수: 1 | 2
1
답변질문
Finite difference problem with matlab 2014
Let's say I have a problem like this: det_t = 0.02, t = [0 : det_t : 1], z(t+det_t) = 3 * z(t) + 2* z(t-det_t), where z(t-det_t)...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to solve for constants of a function given the initial conditions?
Let's say for example I have a system of equations: y(t)=A*t^2+B*t and y'(t) = 2*A*t+B. Now I have initial conditions of y(0) =...
9년 초과 전 | 답변 수: 1 | 0
