Thread Subject: Audio compression with matlab vs c/c++ ?

Subject: Audio compression with matlab vs c/c++ ?

From: amit liron

Date: 28 Jan, 2012 07:49:09

Message: 1 of 6

Hi

1. what are the advantages of develop audio compression (G711/729/...) in MATLAB instead of develop it in C/C++ ?

2. I saw a lot of implementations of audio compression in C/C++ and not in MATLAB , Is there a reason ?

Subject: Audio compression with matlab vs c/c++ ?

From: Bruno Luong

Date: 28 Jan, 2012 15:16:10

Message: 2 of 6


>
> 1. what are the advantages of develop audio compression (G711/729/...) in MATLAB instead of develop it in C/C++ ?

Development speed.

>
> 2. I saw a lot of implementations of audio compression in C/C++ and not in MATLAB , Is there a reason ?

Running speed, and portability.

Bruno

Subject: Audio compression with matlab vs c/c++ ?

From: amit liron

Date: 28 Jan, 2012 15:39:10

Message: 3 of 6

Hi

when you mention development speed and running speed, you mean that in Matlab it is faster than C/C++ ?
Can you explain why ?

Subject: Audio compression with matlab vs c/c++ ?

From: Bruno Luong

Date: 28 Jan, 2012 16:15:09

Message: 4 of 6

"amit liron" wrote in message <jg14qu$g11$1@newscl01ah.mathworks.com>...
> Hi
>
> when you mention development speed and running speed, you mean that in Matlab it is faster than C/C++ ?

No, the opposite. I answered in the right order the two questions.

> Can you explain why ?

Bruno

Subject: Audio compression with matlab vs c/c++ ?

From: amit liron

Date: 28 Jan, 2012 18:57:10

Message: 5 of 6

Thank's again

the last Q :-)
why and when should I use matlab ?

Subject: Audio compression with matlab vs c/c++ ?

From: Bruno Luong

Date: 28 Jan, 2012 20:23:09

Message: 6 of 6

"amit liron" wrote in message <jg1ge6$is9$1@newscl01ah.mathworks.com>...
> Thank's again
>
> the last Q :-)
> why and when should I use matlab ?

All depend on your skill of both languages.

For me, all the time, until I'm sure about the algorithm will work, then implement it in C/C++ if I need speed.

Bruno

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com