Matlab/Simulink or Mathematica/SystemModeler

This forum is for developers of Rack Extensions to discuss the RE SDK, share code, and offer tips to other developers.
User avatar
Murf
RE Developer
Posts: 670
Joined: 21 Jun 2019
Location: Brisbane, Australia

Post 13 Jul 2020

Hi All,
I am exploring both of these tools at the moment to help me create some DSP designs for RE effects.
Both have options for generating C++ code, but it mostly seems architecture dependant.

There is a third party plugin for Simulink for generating DSP code but the company refuses to answer emails.
https://audioplugingenerator.com/

If anyone has had experience with any of these tools and wishes to share their experience please do so!

Murf.

drno
RE Developer
Posts: 101
Joined: 01 Jan 2016

Post 16 Jul 2020

Hi Murf,

I normally use maxima, you can see an example that I have written https://jjchop.wordpress.com/2017/08/28 ... o-digital/.

maxima is a free symbolic algebra program: https://wxmaxima-developers.github.io/w ... index.html

Best Re-gards
Ángel

User avatar
Murf
RE Developer
Posts: 670
Joined: 21 Jun 2019
Location: Brisbane, Australia

Post 16 Jul 2020

drno wrote:
16 Jul 2020
Hi Murf,

I normally use maxima, you can see an example that I have written https://jjchop.wordpress.com/2017/08/28 ... o-digital/.

maxima is a free symbolic algebra program: https://wxmaxima-developers.github.io/w ... index.html

Best Re-gards
Ángel
Looks Nice, I can do similar things in Mathematica and SystemModeler but I cant seem to get past simple RLC circuits. Once I introduce a transistor or a diode the solutions no longer solve.

Murf.

drno
RE Developer
Posts: 101
Joined: 01 Jan 2016

Post 17 Jul 2020

Murf wrote:
16 Jul 2020
Looks Nice, I can do similar things in Mathematica and SystemModeler but I cant seem to get past simple RLC circuits. Once I introduce a transistor or a diode the solutions no longer solve.
Murf.
There is certainly no direct way, but we can model a diode for example as the sum of a capacitor and a resistance.

A----||-------\/\/\/\-------K
0.7V Rb

Vd= 0.7+I*Rb
I=1/Rb*Vd-0.7*Rb

perhaps the biggest problem is how to model the small nonlinear of a diode.

And yes, Mathematica is more powerful for modeling circuit behaviors, if you have it within reach, use it.

User avatar
jam-s
Posts: 3186
Joined: 17 Apr 2015
Location: Aachen, Germany

Post 19 Jul 2020

For modelling electrical circuits using some SPICE based software will most likely give you much more accurate results.

  • Information
  • Who is online

    Users browsing this forum: CommonCrawl [Bot] and 0 guests