I am writing a program where I need to delete duplicate points stored in a matrix. The problem is that when it
I have a function that takes optional arguments as name/value pairs.
% Lots of set
Is there a built in MATLAB function to find out if a matrix contains a certain value?
(ala PHP's in_array
This question arose out of something strange that I noticed after investigating this question further...
I need to call a Python function from MATLAB. how can I do this?
Does anyone know how to count the number of times a value appears in a matrix?
For example, if I have a 1500
If you have an monitor with a DPI over 150 (such as Macbook Pro), you may also find the problem: the font on t
My question is easily summarized as: "Why does the following not work?"
teststruct = struct('a',3,&
I am Integrating Matlab, C and Cuda together in a project. I used Matlab mix in order to connect matlab mx fun
I am trying to read a matlab file with the following code
mat = scipy.io.loadmat('test.m
Having a vector x and I have to add an element (newElem) .
Is there any difference between -
x(end+1) = new
I have created a MATLAB plotting with the plot() function. How do I change the window title of the generated f
I want to change Font Size for xlabel, ylabel, axis size, legend font size a.k.a everything at once, is this p
f(i) = 'f'+i;
gives an error in MatLab. What's the correct syntax to initial
Since a couple of days, I constantly receive the same error while using MATLAB which happens at some point wit
Suppose I have a function f() and I want to use it in my_file.m, which is a script.
Is it possible to have th
In our shoestring operation we need to prototype algorithms in some higher-level language before committing to
I have a problem. I need to iterate through every element in an n-dimensional matrix in MATLAB. The problem is
In a slide within the introductory lecture on machine learning by Stanford's Andrew Ng at Coursera, he gi
All I want to do is make the width greater and the height smaller. I'm just doing raster plots but this