Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Comparison of Matlab and C++

Status
Not open for further replies.
matlab speed vs c

matlab is easy and abundant graphic interface
but it is very slow as the program is huge..
 

interface of c/c++ code with matlab

Matlab:simulate your algrithm and so on, avoiding running across anything detailed. It's quick when u use matrix ops; The rich toolboxes are of great value.

C++: when implement after that, use it pls. Compiler based(different from interpertor ones), high performance, standardized libaries and widely supported.
 

c++ matlab speed

Matlab is very easy to learn software , omitting all the lower level of details like we have to do in C++ language.............

But the draw back is it's slowness compared to C++........But many things can be tested and simulated which reqiure very lesss coding in matlab.................
 

speed of matlab vs c++

AHHHHHHHHH.. I still don't UNDERSTAND why you are COMPARING a MATHEMATICAL enviroment with a PROPIETARY INTERPRETED LANGUAGE with an OBJECT ORIENTED GENERAL PURPOSE LANGUAGE ..

SO .. WHAT are the CONCLUSIONS
IS SLOWER .. WHAT TO WHAT?
 

matlab computation speed c++

Matlab vs C++, which is better depends on your needs. It's true or not?

Pls, give some advices when I have to learn VSLI design with SystemC. Therefore, I should learn Matlab or C++.?
 

avenue vs c++ programming

jetset said:
Matlab is made from C and C++ so, C++ is better.
Thats the worst argument I have heard in a long time.
It's like saying:
Wine is made from grapes, so grapes are better than wine.

With your strange kind of logic, machine code would be better than C++ and Matlab:
C++ is made from C or assembly.
C is made from assembly.
assembly is made from machine code.
So machine code is better than C++ and Matlab. :roll:

You could also say IC's are made of transistors so transistors are better than IC's.


C++ and Matlab are totally different things, each have it's pros and cons.
But they are used for different situations.
I can't really see the purpose of this comparison.
 

integration speed matlab vs c++

jetset said:
Matlab is made from C and C++ so .
1-newer versions of matlab are platform independent (R12 & up). they are made of java
2-i think taking care of memory allocation & deallocation when writing a matlab program increases it's speed (take care that matlab deals with variables as arrays & matrices).
3-for higher matlab speed programs u can run a profile analysis on ur code. it returns an *.html file with the % each line takes while executing a program. it is one as follows:
%%%%%%%%%%%%%%this should be an m-file
profile on;
for i=1:20;% run ur code several times
run ur m-file;
end;
profile report;
profile off;
 

performance of matlab vs c

ME
Do u really think that if we are to model a system , matlab and C++ are totally different solutions ? ..
I guess it needs a decision maker to decide what should be used .. i myself have faced this problem in my company .. and the decision can be based on some points, like :
1- cost ..
2- protability
3- ability to be ported to other devices
4- libraries
5- code ability to be refined ( overloading and overriding features in C++ for example ) ..

and much more ..
 

matlab vs c

It's depent on the applicaiton. In real-time field, matlab is helpless.
 

matlab and c++ speed

if you are new in programming use MATLAB, it is easier and more powerful.
C++ has the advantage of lower memory storage and better runtime
 

speed of c over matlab

ME said:
jetset said:
Matlab is made from C and C++ so, C++ is better.
Thats the worst argument I have heard in a long time.
It's like saying:
Wine is made from grapes, so grapes are better than wine.

With your strange kind of logic, machine code would be better than C++ and Matlab:
C++ is made from C or assembly.
C is made from assembly.
assembly is made from machine code.
So machine code is better than C++ and Matlab. :roll:

You could also say IC's are made of transistors so transistors are better than IC's.


C++ and Matlab are totally different things, each have it's pros and cons.
But they are used for different situations.
I can't really see the purpose of this comparison.

Yes, as you said, machine code is better than C and matlab. That's why some microcontroller or DSP programmers don't like to write code in C or other languages, because it is widely proven that no C compiler is as good as a good assembler programmer, as no Matlab compiler, or Matlab code is as good as an optimized C or C++ code and that's what I meant.
And I think that the creator of this forum is not saying to compare Matlab and C/C++ itself, he is refering to compare what is better to work with for DSP, because this is a DSP forum.
 

matlab c++ speed choice

I am an engineer, I often use matlab to simulate some design schemes. It can give many good simulation results, and it give me great help.
of course, It occupy many PC resources, but we should really exert good qualities.
 

матлаб или си++?

I use matlab for its version 4.
now I'm doing the communication simulation using Matlab6.5, to say the truth, it is really slow to proceed a long time communication signal.
if only, matlab was a pre-compile language as C++, will it be faster?
 

matlab vs c/c++ computation

I use matlab from its version 4.
now I'm doing the communication simulation using Matlab6.5, to say the truth, it is really slow to proceed a long time communication signal.
if only, matlab was a pre-compile language as C++, will it be faster?
 

c++ vs matlab matrix

i use matlab only for algorithm simulation,there are so much functions in toolbox.
 

the comparison matlab with c++

In addition to speed performance in C you have a deeper control on your fuctions and learn many thing by writing algorithms by yourself. Use matlab just in cases you are in hurry and you wanna finish your job soon.
bye
 

is matlab is much slower than c

i used to use matlab ,now i am using cpp + intel signal processing library

it is wonderful !
 

matlab is made of c

i like matlab better than C++.. Primarily cos its easier to use matlab and its interface is more user-friendly
 

matlab vs c

the problem with developing in mathlab is that matlab codes are not portable and it always needs matlab to work. this is not true with C++ since it can be ported easily to other tools and environments.
 

matlab c++ pros and cons

matlab is easier.c++ is deeper and timelessness
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top