Community Profile

photo

Matt Dunham


Xprt Integration

35 total contributions since 2008

http://ca.linkedin.com/pub/matt-dunham/75/185/47a
Professional Interests: Teaching, Machine Learning, Software Engineering

Contact

Contributions in
View by

Answered
Can someone help me to draw a function having the Bolzano-Weierstrass property?
function y = weierstrass(x, a, b, n) %% The Weierstrass function % This is an example of a function which is everywhere contin...

5 years ago | 0

Responded


Re: Hide Matlab IDE menu bar
Thanks Yair, except the menu reappears whenever you change the focus from the command window to the editor, or any other matlab ...

6 years ago | 5918 views

Responded


Re: Hide Matlab IDE menu bar
Increased screen real estate. I'm working on a small laptop, and I almost never use the menubar. Ideally, there would be a keybo...

6 years ago | 5918 views

Posted


Hide Matlab IDE menu bar
I'd like to hide the Matlab IDE menu bar, i.e. the bar at the top that has "file", "edit", "debug", etc, to save screen realesta...

6 years ago | 5918 views

Responded


Re: stretching text
For those interested, one solution I found was to first save the letters as images, load them up into MATLAB with imread(), visu...

6 years ago | 1987 views

Posted


stretching text
Hello, anyone know how to vertically stretch a letter in Matlab so that its width is the same. I want to create a visualization ...

6 years ago | 1987 views

Responded


Re: algorithm assistance with matlab function
There's a much easier way - just use setdiff

6 years ago | 3161 views

Responded


Re: plotsc?
It sounds like scatter is what you want: Try this demo: load seamount scatter(x,y,5,z) The z values are interpreted as colors...

6 years ago | 2288 views

Responded


Re: Hidden Markov Model
Here is an implementation in Matlab, as part of the PMTK3 package: http://code.google.com/p/pmtk3/source/browse/#svn/trunk/tool...

6 years ago | 3578 views

Responded


Re: for loop combined with if loop.. (new to matlab)
Here's what's happening: Matlab evaluates 0<=theta first, suppose this is true. Matlab then evaluates true < pi/2, and since t...

6 years ago | 12416 views

Responded


Re: How to get Matlab to log into a website
Try using Matlab soap services: callSoapService()

6 years ago | 3159 views

Posted


3d plot of linear splines
Hello, I'm trying to make a simple 3d surf plot of linear splines, (not cubic) fit to random data. I have the spline toolbox, bu...

6 years ago | 3190 views

Responded


Re: indexing matrix with two arrays simultaneously
Lets see your loop - can you vectorize it?

6 years ago | 2627 views

Responded


Re: generating markov chains
Do you mean sample from a Markov chain? If so check out mc_sample() from PMTK3 available here: http://code.google.com/p/pmtk3/

6 years ago | 1537 views

Responded


Re: Help with basic array functions
A(A ~= 0) will return all of the nonzero entries in the matrix A but as a vector. The issue is that different rows/cols might h...

6 years ago | 1810 views

Responded


Re: Matlab Newbie needs to 3D contour plot a couple of vectors vs. a matrix Z
Check out the meshgrid function. You'll need something like this: [XX, YY] = meshgrid(X, Y); ZZ = reshape(Z, size(XX)); contou...

6 years ago | 2476 views

Submitted


graphViz4Matlab
Display a directed or undirected graph in a Matlab figure window.

7 years ago | 13 downloads |

Thumbnail

Responded


Re: how to put untrusted functions in a sandbox
What about installing vmware on your system, and Matlab within a virtual session?

7 years ago | 5211 views

Responded


Re: Rotating 3D plots
Instead of zooming in, try only plotting the data you want to see.

7 years ago | 2932 views

Responded


Re: for loop
You can just type "V = t*Z", no need to loop.

7 years ago | 872 views

Responded


Re: matrix index of its position
Try using the find function on the permutation matrix.

7 years ago | 1809 views

Responded


Re: cdf of the distance to the nearest neighbor
Once you normalize your distance matrix, to represent a valid pdf, you should be able to use the cumsum() function, (for cumulat...

7 years ago | 1579 views

Responded


Re: Matlab and telnet
You should be able to do this with the system command, [status, result] = system('telnet ip host'). You will need to send the ...

7 years ago | 4766 views

Responded


Re: A Matlab Graph Toolbox that allows properties / objects to be attached?
Try this, its object oriented and open source and so trivial to associate properties and objects with the nodes and edges. htt...

7 years ago | 2057 views

Responded


Re: how to locate a string in a string cell?
find(cellfun(@(s)strcmp(s, 'aa'), A)

7 years ago | 1305 views

Responded


Re: Matrix Sub-section
subA = A(i:i+m-1, j:j+n-1)

7 years ago | 1918 views

Responded


Re: Accumulate rows of a matrix
Thanks for all of the replies. The sparse matrix multiplication method is by far the fastest. Elapsed time is 0.397306 seconds...

7 years ago | 6492 views

Posted


Accumulate rows of a matrix
I have an n-by-d matrix X of double values and an n-by-1 vector y of integers in say 1:C, and I want to group rows of X accordin...

7 years ago | 6492 views

Submitted


Matlab 2008a Advanced Tutorials
This is a series of Matlab 2008a Tutorials on topics such as the new Object Oriented System

7 years ago | 3 downloads |

Thumbnail

Submitted


compileAndRun
Easily compile and run a matlab function for significant speed improvements.

8 years ago | 3 downloads |

Thumbnail

Load more