Different sample time = different output?

Discussion in 'Programmer's Corner' started by ricperes, Feb 4, 2016.

  1. ricperes

    Thread Starter New Member

    Feb 3, 2016
    3
    0
    Hello, I had a schematic in Simulink/Matlab and I don't know why, but when I use sample time 1E-5 , i had a output graphic and when i use 2E-5 i get another result? why does it happen?
     
  2. WBahn

    Moderator

    Mar 31, 2012
    17,757
    4,800
    Different input, different output. Gee, imagine that.

    Your not giving us much to go on. My first inclination is to wonder if you are aliasing the signal.
     
  3. andre_teprom

    Member

    Jan 17, 2016
    31
    9
    Let me make a guess: Is the "another result" seeming like a compressed shape of the previous waveform, with the ratio of 2:1 ?
     
  4. crutschow

    Expert

    Mar 14, 2008
    13,022
    3,236
    Without a schematic of the circuit or more details it's not possible to better answer your question. :rolleyes:
     
  5. WBahn

    Moderator

    Mar 31, 2012
    17,757
    4,800
    Or at least show plots of the two different results you are getting. Why are you insisting that we be mind readers?
     
Loading...