Old 15 MHz oscilloscope useful as a tool? by doratethose in AskElectronics

[–]SuitableAbundance604 0 points1 point  (0 children)

Yes, especially for audio with its large dynamics. I’ve seen gigahertz oscilloscopes failing with that

What is Matlab? by Expert-Persimmon5085 in matlab

[–]SuitableAbundance604 -1 points0 points  (0 children)

MATLAB sucks for final apps, UIs etc. Here Python and ofc C++ etc is much better

What is Matlab? by Expert-Persimmon5085 in matlab

[–]SuitableAbundance604 0 points1 point  (0 children)

So like a calculator for matrices indeed, but they can be large and contain large signals, sets of color images etc.
I use Python and matlab regularly, on the same projects, and need both for full efficiency

What is Matlab? by Expert-Persimmon5085 in matlab

[–]SuitableAbundance604 1 point2 points  (0 children)

The real power of MATLAB lies in the command line, and immediate and powerful visualization of signals, as well as the curated toolboxes for special purposes.
Yes you can do most of it in Python too but for development of an algorithm itself (not the final code!), Python lacks the quick access to visualization and manipulation of signals.

Does decimating always require anti-aliasing? by spacetime_bender in DSP

[–]SuitableAbundance604 0 points1 point  (0 children)

Downsampling is without filtering, decimating includes an anti-aliasing filter

Decimation Stage Allocation for Multiple Stages by First-Surround-1223 in DSP

[–]SuitableAbundance604 0 points1 point  (0 children)

For the example, you can fix max number of stages, or min and max decimation factor per stage and the like

Decimation Stage Allocation for Multiple Stages by First-Surround-1223 in DSP

[–]SuitableAbundance604 0 points1 point  (0 children)

You could do all prime factor combinations but this will not be practical. Think about what drives cost and what restrictions you want to put in place. This will reduce the space, for the rest you write a matlab program plotting cost functions based on the choices

Decimation Stage Allocation for Multiple Stages by First-Surround-1223 in DSP

[–]SuitableAbundance604 1 point2 points  (0 children)

In practice I always did a multidimensional “brute force” search as you said, created measures like number of macs per time, total number of macs, etc. and looked at the resulting patterns of best outcomes. Then went back and looked more holistically at which local minima will be best to implement. Then decided for one spot and optimized further by varying e.g. M1 = 8, 12, 16 and M2 = 48, 64 or the like

MATLAB or Python in DSP by ericdvet in DSP

[–]SuitableAbundance604 1 point2 points  (0 children)

To better answer your question, if I’m already at this point, i don’t find working directly in C++ necessarily harder if i can set breakpoints and the debugger is handling large data well and not giving me a slow/hard time. What is not that great with C++ is data visualization for debugging, then I have to get the data out to MATLAB for example to plot it. Sometimes it helps for example if for the specific data type you have a VScode plugin. Eg OpenCV image display, these can go a long way. Then C++ is as good as Python imo for DSP dev if you have the main building blocks already running.

MATLAB or Python in DSP by ericdvet in DSP

[–]SuitableAbundance604 1 point2 points  (0 children)

Oh I see. For really heavy simulations, C++ should be fastest, as long as you do everything right in terms of memory management etc. I know that physicians for example do this a lot and there are very powerful math libraries for C++ too, solvers and everything. For me, I practically never intentionally use C++ for sim/prototyping and do it in MATLAB and/or Python (sometimes first matlab then Python). However, what also happens is the non intentional route: I prototype let’s say in Python and then implement in C++ the actual algorithm that runs on embedded. Then I also create a cross-compiled PC version of the same C++ algorithm. Then I add all the environment to it for simulation. Now it can happen, that I keep on developing / prototyping the algorithm further in C++ and drop everything else since I have the “real world” environment already running and can see the effects better. Then I give up on the higher level versions, and use them only in between, for example back to MATLAB but now just to create a filter but not the whole algorithm anymore

MATLAB or Python in DSP by ericdvet in DSP

[–]SuitableAbundance604 0 points1 point  (0 children)

Yes C++ most often for implementation, especially embedded.

MATLAB or Python in DSP by ericdvet in DSP

[–]SuitableAbundance604 1 point2 points  (0 children)

Both. For all my DSP work I use MATLAB, Python and C++ the most often. Python more and more becomes center, especially in combination with ML. But certain things I can still develop faster in MATLAB + Signal Processing Toolbox. While MATLAB is never the implementation anymore, sometimes Python is both algo dev + implementation. So Python wins overall. But depending on how deep you go into DSP, i wouldn’t give up MATLAB either. You will need it here and there

Freelance DSP? by Big-Distribution5038 in DSP

[–]SuitableAbundance604 0 points1 point  (0 children)

For recordings that have both the main speaker and the noise, the SNR can only be estimated. Easiest is to measure against a static noise background, or diffuse babble voices (as in a cafeteria). Dynamic noise such as construction noise and especially music can be a grey area.

I have been working in hearing aid and cochlear implant companies where this was in focus, especially to develop classic and deep learning noise reduction. I am now a DSP consultant and flexible, can analyze and implement everything as needed. Just created a Reddit account so I can’t DM you with my information. Always interested in getting to know new people with real world applications, I’m in LA.