# Tag Info

### Sine generator - Bubba Oscillator

It does oscillate, you can see that it does on the right side of the plot. If you zoom in on the left side you should also see the oscillation but at a much smaller amplitude. Your misconception ...
Accepted

### Why do MATLAB and LTspice give me different results for a band-pass filter?

Have a think about this extract from your LTSpice bode plot and the words I added to it: - And, if I used my simulator of choice (micro-cap) and told it to use 1 million points when calculating the ...
Accepted

### How to use Voltage Measurement in Matlab Simulink?

Your model is not built in simpowersystem environment so you can not use the voltage measurement block. The correct way to measure the voltage, is by using "voltage sensor" from Simscape>foundation ...
Accepted

### Perfect component on LTspice

LTspice solves nonlinear differential equations numerically. It's not an AI system that can figure out intelligently whether a diode is conducting or not, and thus solve your homework questions or ...

### Why do MATLAB and LTspice give me different results for a band-pass filter?

You're seeing a few types of numerical issues: quantization of the frequency sample points, interpolation between those points, as well as rounding in the plot display. I built your circuit in the ...
Accepted

Accepted

### Generating a realistic sine wave in MATLAB

I have two approaches to do that when working in MATLAB. The first is to generate a clean sine wave, and then apply a distorting function. For instance applying x*(1+kx^2) for small k to your ...
Accepted

### How do we interpret frequency from fft command in matlab?

The output of the fft function will go from 0 Hz to fs/2, then -fs/2 to almost 0. If you ignore the 2nd half (for purely real signals), the following works well: For n samples at a sampling rate of ...