MATLAB is a high-level language and interactive programming environment developed by MathWorks. It is the foundation for a number of other tools, including Simulink and various toolboxes that extend the core capabilities.

learn more… | top users | synonyms

0
votes
0answers
29 views

How to initialize or load MCR to speed up the console application

I incorporated C++ shared library generated from MATLAB in a Win32 console application. The MATLAB program takes 2-3 sec to execute in MATLAB but the console application takes 11-12 seconds to ...
-3
votes
0answers
25 views

Reading data cell-wise from excel for iteration in matlab [closed]

I have to perform an iteration. I want matlab to read data from an excel file, cell-wise, for each iteration loop.How can I do this?
0
votes
0answers
12 views

How to plot this function in MATLAB? [migrated]

I have a simple function below (I omitted the allocations, etc. for brevity) that I have been tryig to plot against it's x value for specific values of N and T but I keep getting a dimensions error. I ...
0
votes
3answers
124 views

algorithm to create all possible column vectors of size N containing only ones and zeroes [closed]

I am a mathematics student and am just starting to learn about programming. I am stuck on a particular program I am trying to write for fun. I want to find an algorithm to create all possible column ...
1
vote
1answer
187 views

Programming Discrete Wavelet Transform

I am trying to program Discrete Wavelet Transform in Matlab. I do understand that their are various libraries available, but my project requires that I must implement it from scratch. I am taking a ...
2
votes
1answer
70 views

How do I transparently cache data in intermediate stages of processing?

I am working with MATLAB on a model reduction algorithm. It is basically a data processing pipeline. ckt = generate_ckt(ckt_properties); freq = generate_fpoints(fconfig); result = ...
1
vote
4answers
209 views

LaTeX-like display programming environment

I used to be a hobbyist programmer, but now I'm also a fairly experienced physicist and find myself programming to solve certain problems quite a lot. In physics, we use variables with superscripts, ...
0
votes
0answers
124 views

Estimating the right number of clusters in remote sensing images

I'm working on Remote sensing images segmentation. the images is the SST (Sea surface temperature) of north west of Morocco. My goal is to segmente the SST images in 2 regions : Region with cold ...
3
votes
1answer
517 views

In MATLAB, how can 'preallocating' cell arrays improve performance?

I was reading this article on MathWorks about improving MATLAB performance and you will notice that one of the first suggestions is to preallocate arrays, which makes sense. But it also says that ...
1
vote
1answer
131 views

Trying to sort the coefficients of the polynomial (z-a)(z-b)(z-c)…(z-n) into a vector

So I have a factored polynomial of the form (z-a)(z-b)(z-c)...(z-n) for n an even positive integer. Thus the coefficient of z^k for 0 <= k < n will be the sum of all distinct n-k element ...
3
votes
5answers
395 views

Lines of Code vs. Optimal Language [closed]

I was wondering whether it is possible to give any advice as the the maximum number of lines of code at which one should consider switching from say MATLAB to a more low level language? Is it even ...
0
votes
2answers
121 views

Data acquisition, storage and management

I have a device that can measure different values over time, one sample per second. After one measurement run I can export the data in form of a CSV-file. One row per second with timestamp and about ...
13
votes
3answers
784 views

Implementing technical paper algorithms in C++ or MATLAB

I am an Electrical Engineering undergrad. I've reading many technical papers about Signal and Image processing algorithms (reconstruction, segmentation, filtering, etc). Most of the algorithms shown ...
8
votes
4answers
2k views

Moving to Python (SciPy and NumPy) for Scientific Computing

Just read a presentation about using Python for Scientific Computing. I am currently using MATLAB (student license FTW, which will expire when I graduate soon). So I was wondering how matured SciPy ...
8
votes
5answers
1k views

How to explain OOP to a matlab programmer?

I have a lot of friends who come from electrical / physical / mechanical engineering background, and are curious about what is "OOP" all about. They all know Matlab quite well, so they do have basic ...

1 2
15 30 50 per page