26 votes

How can I work on DSP using C/C++?

MATLAB is a desktop computing environment, that's designed to make it easy to do math in batches. And if you were to have access to the MATLAB source code, you'd find that as you dig down into it, ...
TimWescott's user avatar
  • 12.6k
18 votes

How can I work on DSP using C/C++?

C/C++ is the standard language for real time and embedded signal processing. MATLAB is in most cases way too memory hungry and way too slow. There is a lot of signal processing happening in, for ...
Hilmar's user avatar
  • 44.1k
7 votes

How can I work on DSP using C/C++?

I find it borderline misleading to even call MATLAB a programming language. –Well, it is a Turing complete language... but so is Brainfuck (BF). You can theoretically write any software in it (given ...
leftaroundabout's user avatar
7 votes

How can I work on DSP using C/C++?

I come from the game development world, and I knew C/C++ programming way before I did my first signal processing program (in the context of audio filters for games), so I hope I can give you another ...
Panda Pajama's user avatar
5 votes
Accepted

The power of signal processing when faced with hardware constraints

That's a very broad question, but I'll give it a shot. 1 . ... how much could signal processing actually do to help us here ? ... That's highly dependent on the specific problem. Sometimes a lot, ...
Hilmar's user avatar
  • 44.1k
3 votes

STM32F7 Discovery board vs dsp kit tms320c6713 vs Rasberry Pi?

Typically a DSP lab should better include both a Raspberry pi and an STM32F7x interacting with each other. Raspberry Pi is a mini PC. It uses an ARM based multicore CPU at GHz range (with FPU) and ...
Fat32's user avatar
  • 28.1k
3 votes

How can I work on DSP using C/C++?

In addition to the several answers already given here, I just want to link this superb answer from @Fat32. My focus is on MATLAB and the bad rap often directed at it (I am not one of them). As it has ...
Gilles's user avatar
  • 3,386
3 votes

How can I work on DSP using C/C++?

First of all, as others mentionned you should learn about embedded programming, real-time programming and C/C++ That being said, there are ways to minimize the Matlab to C/C++ conversion. First method,...
Ben's user avatar
  • 3,735
3 votes
Accepted

Ideas for self learning project

Since RF is mentioned as signal source, consider going really low-frequency to broadcast time standards like WWVB at 60kHz. There's bound to be one in your region. The ADC is not costly, since ...
glen_geek's user avatar
  • 146
3 votes
Accepted

The transmission distance of a signal

In principle, you can always test your channel and adjust your power according to the channel state before sending any signal. Each channel is always unique regardless of being in a city or in more ...
Mundo's user avatar
  • 171
3 votes

general purpose microprocessor vs DSP(digital signal processor)?

On a basic level, in my opinion, a DSP chip must, as a minimum requirement, be able to optimally perform the convolution summation used to compute the output of an FIR filter. $$ y[n] = \sum\limits_{k=...
robert bristow-johnson's user avatar
2 votes

dB SPL readings differ from external sound level meter?

Your calculations are correct, although you should do some kind of sliding average over a few hundred samples or so. The problem seems to be that the sound level meter employs an A-weighting, while ...
Max's user avatar
  • 2,215
2 votes

simulator for dsp kit tms320c6713?without using actual hardware kit tms320c6713?

Usually, even before someone builds a processor, they write a specification of the instruction set, and then they build a simulator for that. The same applies to TI's C67xx series: https://processors....
Marcus Müller's user avatar
2 votes

The transmission distance of a signal

A really simple approach is to just use the Friis transmission formula: $$\frac{P_r}{P_t} = D_t D_r \left( \frac{\lambda}{4\pi d} \right)^2$$ which leads to the free space path loss formula (in dB): $$...
Peter K.'s user avatar
  • 25.7k
1 vote

Decoding binary data from temperature / rain sensor

After some thinking I believe I have solved this myself. The user manual indicates the sensor operates from -40 to +65 at a resolution of .1 degrees C giving 1050 potential values (65 + 40 / .1) To ...
TomW's user avatar
  • 11
1 vote

Lattice structure-Lattice coefficients-Sign positive or negative?

The reflection coefficients for the system are 1, 0.368, and 0.9. Based on the recursive difference equations for a lattice filter $f_{m-1}[n]= f_{m}[n] - K_{m} \times g_{m-1}[n-1]$ $g_{m}[n] = K_{m} \...
Ryan's user avatar
  • 319
1 vote
Accepted

Why I get another spectrum when upconvert an o-qpsk baseband signal with a bladerf compared to a hackrf device?

One source of this is spectral regrowth (overdriving a device into saturation such that the pulse shaping that limits the spectrum is degraded), but compared to typical spectral regrowth spectrums I ...
Dan Boschen's user avatar
  • 50.3k
1 vote
Accepted

Selecting a Digital Signal Processor for a Specific Image Sensor

Good approach to first do a rough calculation of the bandwidths you need. Couple of remarks on that: You forgot a factor of 3, that camera has three "color pixels" per image pixel Your use ...
Marcus Müller's user avatar
1 vote
Accepted

Neural Network learning project based on 8 wave signals over 1 second at 1 sample every 10 ms ( hence 100Hz )

...a neural network that can decide wether a pattern produced by the movement of a hand near capacitive sensors is as expected, or random. The neural network is supposed to learn himself how the ...
A_A's user avatar
  • 10.7k
1 vote
Accepted

Suggestion for a DSP board to implement a Kalman filter in real-time at a rate of around 4MHz or higher

The conclusion of my discussion with hops and Marcus was that getting a DSP to operate with an ADC and DAC at the latency required for my application (<=250ns for 4MHz) would be difficult and ...
SomeRandomPhysicist's user avatar
1 vote
Accepted

Spectrum Sensing HW

Taking into account that the 802.11ac channels are in the range of 2.4–2.5 GHz, and the active/passive scanning feature supported by the standard, seems that the WiFi spectrum scanning can be done ...
Marcus Müller's user avatar
1 vote
Accepted

Resampling scattered data with MATLAB's $\tt interp$ and $\tt resample$

In your question, you state that your ultimate goal is to compute the discrete Fourier transform (DFT) from nonuniformly-sampled input data. It is not necessary to resample your data at all. In fact, ...
Ryan's user avatar
  • 26
1 vote
Accepted

How to calculate FFT of a non-uniformly sampled signal?

You are essentially referring to nonuniform signal sampling in which data samples are not acquired at exact periods but have same random jitter deviations from their exact uniform timing positions. ...
Fat32's user avatar
  • 28.1k
1 vote

Audio DSP HW Recommendation

I've used one of the miniDSP kits (actually three USB Streamers) in a design project, and it did perform well, but we never did any of the actual DSP onboard and instead relied on computer software. ...
Keegs's user avatar
  • 310
1 vote

Audio DSP HW Recommendation

I think you might want to have a look at the stuff from XMOS. They have nice solutions (hardware, software, IDE) for developing audio applications on real(time) hardware. And besides that also nice ...
Ruurd Adema's user avatar
1 vote

Architecture for high sample-rate FIR/IIR filter on FPGA or ASIC?

Short answer: If your sampling rate is higher than your throughput, you must use some kind of polyphase decomposition of your filters to work. So if you can't do that, you can't use a 100 MHz-...
Marcus Müller's user avatar
1 vote

Multichannel input/output evaluation board

This is a little bit of a tricky question because it is homework and a direct answer would simply equate to doing that homework which is not what this website is about. Apart, from the purely ...
A_A's user avatar
  • 10.7k

Only top scored, non community-wiki answers of a minimum length are eligible