photo

Laurens Bakker


Simon Fraser University

Active since 2012

Followers: 0   Following: 0

Message

Professional Interests: Cellular Automata and Social Network Analysis

Statistics

  • Revival Level 2
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
How to Normalize variables?
Hi Matt, Normalisation just means: "change the numbers so that both range from 0 to 1". You can do that by subtracting the mi...

mer än 12 år ago | 0

Answered
Calculating Hamming Distance?
Hi Alex, If you have the Statistics toolbox, you can use the pdist function. Cheers, Laurens

mer än 12 år ago | 0

Answered
How to reduce the time?
Hi Shifat, the base MATLAB distribution has a function for this: P = dec2bin( fix(s) ); where fix() cuts off the frac...

mer än 12 år ago | 0

Answered
parfor using
Hi Yildirim, There is considerable overhead in gathering the data back into a single variable. I removed the assignments and ...

mer än 12 år ago | 0

| accepted

Answered
Array of objects - speed issues
Hi Gabriel, I have had the same experience of MATLAB slowing down when using OO design, particularly with handles. I've never...

mer än 12 år ago | 0

Answered
basic question on how to find mean distance between an interior point and all of the vertex points of the convex hull
Hi Andrew, If you have the Statistics toolbox, use the pdist function to compute the distance between a vector of points and ...

mer än 12 år ago | 0

Answered
overlapped objects counting in matlab
Hi Faisal, I'm not sure if MATLAB is the right tool for this. Take a look at <http://boost-geometry.203548.n3.nabble.com/inte...

mer än 12 år ago | 0

Answered
reordering a matrix
Hi Ramya, First, you re-order the known image according to the sorted order column by column: for i=1:size(avgtar,2) ...

mer än 12 år ago | 0

Answered
Possible to come out with a adjacency matrix?
B is the an adjacency matrix.

mer än 12 år ago | 0

Answered
Tab completion produces no filenames (Mac OS)
Hi Eric, There is no tab completion on strings because they are literals. MATLAB does not know that the string you are typing...

mer än 12 år ago | 0

Answered
Addition of time series' values in array
Why not just use a for loop? sum = zeros( size(OBJECTS(1).PROP.Data ); for obj=OBJECTS sum = sum + obj.PROP.Data;...

mer än 12 år ago | 0

Answered
Function handle invoking Java reports syntax error?
Hi Ahmed, anonymous functions are not allowed to store any data, and accessing a field of java.io.File(d) probably implicitly...

mer än 12 år ago | 0

Answered
How can I find the coefficient of trasfer function in detail? (more than 4 unit)
Hy Hyetan, sys2 is an object that has fields num and den, for numerator and denominator, so sys2.num{:}(2) is the val...

mer än 12 år ago | 1

| accepted

Answered
about function argument
Yes you can. MATLAB is not a typed language, so you could write something like: function [outputs] = foo ( myNeuralNet, ot...

mer än 12 år ago | 0

| accepted

Answered
Minimizing the Maximum Value of an Array
This seems like a general constrained optimisation function. Since you have already formulated your objective function, you coul...

mer än 12 år ago | 0

Answered
Calculate Service Area For Fire Station Bye use Shortest Path
Service areas by access times are usually calculated as voronoi diagrams (see the voronoi() function) or by a multi-source bread...

mer än 12 år ago | 0

Answered
k-means clustering
MATLAB actually has a built-in clustering function called kmeans. Assuming you can reshape your data to match the format expecte...

mer än 12 år ago | 0

Answered
JMI ?
Please consult <www.mathworks.com/products/javabuilder/> for details on converting matlab programmes to JAVA. JMI is not directl...

mer än 12 år ago | 0