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.
-1
votes
0answers
50 views
Help in viewing the output of a neural network [on hold]
0 down vote favorite
1
I used nftool in Matlab 2012 and trained a network. I gave the training inputs as x=[250:1] and targets as t=[250:1]. I used 10 hidden layers. I trained the network and got the ...
1
vote
2answers
42 views
How to reduce close points
input: C matrix 2xN (2D points)
output: C matrix 2xM (2D points) with equal or less points.
Lets say we have C matrix 2xN that contains several 2D points, and it looks something like that:
What we ...
1
vote
2answers
70 views
Is input validation necessary?
This is a very naive question about input validation in general.
I'm a MATLAB user (1.5 years old) and I learned about input validation techniques such as "parse" and "validatestring". In fact, ...
-1
votes
0answers
32 views
Using Matlab, how does the visual geometric angle of a regression line change as I alter the axes of the graph? [migrated]
I know that you can adjust the scale of the x and y axes to change the geometric angle of a regression line. For example, if you plotted a regression line with slope of b=0.3, perhaps the default ...
-1
votes
0answers
15 views
EXCEPTION_ACCESS_VIOLATION when using large array in C [migrated]
this is another issue I'm stuck with. First of all I'm trying to read a level-4 matlab file which contains information exported from PicoScope 6, it reads four arrays from the file, A, Tstart, ...
0
votes
0answers
37 views
How do I execute a matlab script from php? [migrated]
I'm new to web development, but I'm attempting to create a web site that takes user input, performs a calculation, and displays it to the user. I'm under the impression that I'll do this with ajax to ...
0
votes
4answers
815 views
Having Python/Matlab, why still need C++/Java? [closed]
As a newbie in Computer Science, I personally find that the advanced languages, such as Python/Matlab, can basically do all I need during my academic career.
(I say Python/Matlab as "advanced ...
0
votes
3answers
173 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
581 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
145 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 = ...
4
votes
1answer
983 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
2answers
171 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
429 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
172 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
1k 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 ...
9
votes
5answers
4k views
Moving to Python (SciPy and NumPy) for Scientific Computing [duplicate]
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
2k 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 ...
3
votes
4answers
1k views
Who organizes your MATLAB code? [closed]
After reading http://stackoverflow.com/questions/2326609/how-to-organize-matlab-cod, I had a follow up question.
If you work in a group of MATLAB programmers, who enforces the organization of the ...
14
votes
7answers
825 views
Is there a recommended way to communicate scientific/engineering programming to C developers?
I have a lot of MATLAB code that needs to get ported to C (execution speed is critical for this work) as part of a back-end process for a web application. When I attempt to outsource this code to a C ...
13
votes
6answers
3k views
Surviving MATLAB and R as a Hardcore Programmer
I love programming in languages that seem geared towards hardcore programmers. (My favorites are Python and D.) MATLAB is geared towards engineers and R is geared towards statisticians, and it seems ...