I would like to be able to use Matlab-mode (matlab.el) to run a matlab shell. The only problem is, Matlab is located on a remote host. Is this even possible? If so, please explain. I'm currently playing around with tramp but to no avail.
Thanks.
...
I'm trying to build a binary classification decision tree out of huge (i.e. which cannot be stored in memory) datasets using MATLAB. Essentially, what I'm doing is:
Collect all the data
Try out n decision functions on the data
Pick out the best decision function to separate the classes within the data
Split the original dataset into 2...
I'm trying to measure the frequency of a square wave which is read through a USB 1024 HLS Daq module through MATLAB. What I've done is create a loop which reads 100 values from the digitial input and that gives me vector of 0's and 1's. There is also a timer in this loop which measures the duration for which the loop runs.
After gettin...
I am simulating a digital filter, which is 4-stage.
Stages are:
CIC
half-band
OSR
128
Input is 4 bits and output is 24 bits. I am confused about the 24 bits output.
I use MATLAB to generate a 4 bits signed sinosoid input (using SD tool), and simulated with modelsim. So the output should be also a sinosoid. The issue is the output o...
Consider a matrix M and a set of subscripts stored in columns I and J. I need to access the elements designated by I & J without converting them to linear indices (i.e. using sub2ind). E.g.
M = [1 2 3;4 5 6;7 8 9];
I = [1 1 1];
J = [1 2 3];
VALS = [1 2 3];
Also, doing the following is not feasible since I & J are huge :
VALS = diag(...
Can anyone recommend good books or online resources for learning MATLAB? It's for an experienced programmer, needing to learn MATLAB for computational and GUI applications.
Thanks.
...
Hi,
I am trying to create a GUI that will take several inputs and run them through several functions. I wish to use a radio button panel to switch between different graphs, but i just cant seem to get it working. Here is a sample of my code.
switch get(eventdata.NewValue,'Tag') % Get Tag of selected object
case 'button1'
...
Hello,
I have bmp images in image folder on my computer. I named it from 1.bmp to 100.bmp.
And I want to read these images like this:
for i=1:100
s='C:\images'+i+'.bmp';
A=imread(s);
end
But Matlab gave an error. How can I implement this?
...
Hello,
I have bmp images in image folder on my computer.I named it from 1.bmp to 100.bmp .All of them size is 576*768
I read one by one these hundered images.I select rectangular region from all hundred images.Rectangular region's pixel coordinates is changing from 182 to 281 vertically and changing 426 to 639 horizontally.I save gra...
Hello ,
I have bitmap images file in my computer.And I numbered images form 1 to 100.
I want to read image synchronously.
Something like:
for i=1:100
% read images
s = sprintf('C:\\images\\%d.bmp', i);
A[i] = imread(s);
A[i] = double(A);
end
I know that this code can't work.Is there a function that perform my alg...
Consider a vector V riddled with noisy elements. What would be the fastest (or any) way to find a reasonable maximum element?
For e.g.,
V = [1 2 3 4 100 1000]
rmax = 4;
I was thinking of sorting the elements and finding the second differential {i.e. diff(diff(unique(V)))}.
EDIT: Sorry about the delay.
I can't post any representati...
Anyone out there used MATLAB's javaObject() function with a JAR file that uses JNI?
I'm trying to get JHDF5 running and it seems like it bombs when it tries to get access using jhdf5.dll so I don't really know what to do next. :(
edit: I am NOT trying to read basic HDF5 files. I have my own custom Java code that does something with HDF...
I have a jar file I produced from compiled class files using an ant file with <javac target="1.5" ... /> and I would like to verify that it actually produces 1.5 code. Is there a way to do this?
My version of MATLAB one one of the computers I'm using, uses a JRE 1.5; so it will not run code unless it is JRE 1.5 compatible. It's worked f...
I want to use ezplot in MATLAB, and because the function I want to plot consists of a large number of terms I may split it into smaller functions. Let me give an example of a small number of terms and it can be generalized to a large number of terms. To plot the function:
y2+xy+xy3+x+1=0
I let y1=x+1 and I write the following in MATLA...
I am using the MEX interface to run C++ code in MATLAB. I would like to add several functions to MATLAB for handling a System object:
sysInit()
sysRefresh()
sysSetAttribute(name, value)
String = sysGetAttribute(value)
sysExit()
Since each MEX dll can contain one function, I need to find a way to store the pointer to the global System ...
A spectrum kernel function operates on strings by counting the same n-grams in between two strings. For example, 'tool' has three 2-grams ('to', 'oo', and 'ol'), and the similarity between 'tool' and 'fool' is 2. ('oo' and 'ol' in common).
How can I write a MATLAB function that could calculate this metric?
...
I need to search a large set of matlab (.m) files, and I can't find a way to do it in Google Desktop. I haven't seen any source code indexer that supports matlab either.
What options do I have?
...
Hello.
The following command returns 1:
ismember(-0.6, -1:.1:.9)
but this next command returns 0:
ismember(-0.1, -1:.1:.9)
even though -0.1 clearly is in -1:.1:.9.
Does anybody know what's going on?
...
A professor asked me to help making a specification for a college project.
By the time the students should know the basics of programming.
The professor is a mathematician and has little experience in other programming languages, so it should really be in MATLAB.
I would like some projects ideas. The project should
last about 1 to 2 ...
Hii
I need help for discrete wavelet transformation source code with matlab...
Could i know full discrete wavelet transformation source code with matlab that can be used for video processing???
especially i need for wyner zif filter using wavelet transformation with matlab...
...