how to add coding into my block model?
i am currently doing a project on object detection and tracking which is similar to the people tracking demo in matllab r2009b. I want to display the number of people detected on the screen. for example, my model detected one people, then will display " 1" . I need help on how to write the code to display the result ... 2 Feb 2010 15:21
Colouring a Trisurf/Trimesh
Hi, I have a mesh, and i want to highlight certain triangles. For example I want most of them to be blue, but specific ones to be red. Using the input: trisurf(Tri,X,Y,Z,C) 'Tri' is a m-by-3 matrix. Lets say I made it a m-by-4 matrix, and used the 4th column to be a 0 or 1 to represent the colour i want to ... 2 Feb 2010 15:21
parameter estimation and ode45
Dear friends... how to solve problems like this? dy1/dt = y1*a - y2*b dy2/dt = y1*y2 - c a, b and c are parameters, y(i) are (given) variables. I would like to find the best values for a, b and c in order to fit my data to my model. Thank you. ... 2 Feb 2010 22:00
OO Programming question
Hey guys, I realize this might be a more general programming question, but it's worth a shot: suppose I want to write a class method that carries out a certain task, e.g. printing out interrater agreement for a piece of data. Usually these ratings are embedded in objects, and I figured writing it as a class method ... 2 Feb 2010 15:21
Hist3: specify bar colour using (x,y) range?
Hi, I have created a 3D histogram to illustrate a bivariate data distribution. Instead of colouring the bars according to frequency I'd like to specify the colour for several ranges of (x,y). Eg colour (0<x>2, 3<y>5) green, colour 2<x<4, 0<y>3 blue and so on. My aim is to illustrate how the data distribution has bee... 2 Feb 2010 15:21
Visual Studio Compiler and Linker Configuration for Matlab Engine
Hello, is there any real guide, how to setup Visual Studio Express in order to compile an application which interfaces to Matlab Engine? I always get an "unresolved reference" error to definitions provided in "engine.h", although I include the Matlab external directories. None of the comments I've found on th... 2 Feb 2010 15:20
computing the sum of multiple ascii files
Hi all- I have a series of ascii files that show precipitation for a 1121x759 on a daily time step over the course of a year. I would like to calculate the sum of precipitation for each grid cell in one month intervals. sumOct = Oct1.asc + .... + Oct31.asc So far what I have is: d = dir('prec_2008.10*.a... 2 Feb 2010 15:20
accessing OO database using MATLAB
Can anyone tell me whether we can use MATLAB with object oriented databases or not? Which ODBMS is compatible with MATLAB?? Thanks ... 2 Feb 2010 15:20
imagesc(flipud(reshape
Can anybody tell me what is wrong in this line (concentration,nx,ny,nz))); ... 2 Feb 2010 15:21
Problem with taylor command and anonymous function
Hi, I am trying to compare the plot of an anonymous function with it Taylor expansion with no success. Can someone help? a=1;b=2;c=3; syms x; T=@(x) a*(exp(x/b)) T = @(x)a*(exp(x/b)) taylor(T) ??? Undefined function or method 'taylor' for input arguments of type 'function_handle'. ... 2 Feb 2010 15:20