Recent content by MoonDiver

  1. M

    Engineering How to implement a transfer function in Simulink with variable coefficients?

    Thank you for the response! What I don't understand is how should the block scheme look like in order to achieve the b + s part of the function. F(s) = 5d^(1/2)/(b + s)
  2. M

    Engineering How to implement a transfer function in Simulink with variable coefficients?

    The implementations for the two filters in simulink are as follow: For the first filter: For the second one: The obtained results have values of 10^-12, while the expected results should be between 10^-3 - 10. Since it's the first time when I try t implement a tf with variable coefficients I...
  3. M

    Engineering Reconstruct a signal by determining the N Fourier Coefficients

    Thank you! The problem is that I don t understand how should I compute the Amplitude of N coefficients in my case 50, if the length of t would be equal to -T/2:0.1:T/2 and the length of k in this case is -50:50. This gives me an error because the signal x would have the length of t and I would...
  4. M

    Engineering Reconstruct a signal by determining the N Fourier Coefficients

    Hi,LeafNinja ! Thank you for the response! I'm trying to reconstruct the signal but using only a limited number of coefficients. In my case N = 50. Should obtain something like the example in the photo.
  5. M

    Engineering Reconstruct a signal by determining the N Fourier Coefficients

    %My code: %Type of signal: square T = 40; %Period of the signal [s] F=1/T; % fr D = 23; % length of signal(duration) dt=(D/T)*100; N = 50; %Number of coefficientsw0 = 2*pi/T; %signal pulset1= 0:0.002:T; % original signal sampling x1 = square((2*pi*F)*(t1),dt);%initial square signal t2=...
Back
Top