variable output
I am looking to make a program where one of the output formulas is dependant on the value if the input. For example x=1:10 For x>5 y=2*x For x<5 y=3*x I know there must be an obvious way to do this but i cant. Currently i am using the script x=0:0.1:10; if x>5 y=2*x else y=3*x end This only gives values o... 22 Dec 2009 11:28
Code for cbir in matlab
i need code for CBIR in matlab based on any features....like retrieval on the basis of segmentation,wavelet transformation,edge detection,color specification etc ... 22 Dec 2009 03:49
Active Apperaance Model
"rajitha " <rajithae03(a)yahoo.com> wrote in message <h9f7h2$9i6$1(a)fred.mathworks.com>... Hi All, Does anyone has a Active Apperance Model(AAM) code in Matlab? Regards, Bandara Do you have the code now? shu ... 22 Dec 2009 02:45
deploytool doesnt work
when I write this deploytool in command window in vista 64 bit or Xp 32 bit computer I'm seeing plugin_error_plugins.log file in it these are writes Invalid type 'dir' for param with key 'param.intermediate' with 2-level resource bundle at target [target.standalone.win] at product [product.mlcompiler] ... 21 Dec 2009 18:03
Warnings engOpen - Handle Array ..., MCOS initial...
running to the same problem using Pymat module to call matlab engine from python. I am running a brain segmentation script both using matlab command line itself and through the pymat module from python. the results are not the same and i think it has something to do with this failure to initialize warning, my plan is... 21 Dec 2009 16:56
Mapping a random walk to another spatial grid
Hello all I calculate a number of random walks, generating x and y coordinates. I wish to map these to a spatial grid (X,Y) of a different resolution. What I want to do is count the number of 'stops' (x,y pairs) that 'land' in each cell of the spatial grid (X,Y). The code below might make it a bit easier to see what I... 23 Dec 2009 10:52
Reduce elements in a point cloud
"frank millo" <frank.millo(a)gmail.com> wrote in message <hgonoq$o3d$1(a)fred.mathworks.com>... Hello, I have a Nx3 matrix (N>10e5). I would like to &#8220;thin out&#8221; the point cloud somewhat and unclutter it by extracting only every other or 5th point and saving it. Is there a way to do this without a ... 21 Dec 2009 16:56
Reduce elements in a point cloud
"frank millo" <frank.millo(a)gmail.com> wrote in message <hgonoq$o3d$1(a)fred.mathworks.com>... Hello, I have a Nx3 matrix (N>10e5). I would like to &#8220;thin out&#8221; the point cloud somewhat and unclutter it by extracting only every other or 5th point and saving it. Is there a way to do this without a ... 21 Dec 2009 16:56
Serial communication blocks of real-time windows target do notwork in real-time
Hi John, currently, the Real-Time Windows Target RS232 interface is unable to accept new data in periods shorter than 2 ms. This is a known limitation and there's work in progress to remove it. This does not directly relate to the data throughput - if you are sending data in packets longer than one byte, you... 21 Dec 2009 13:32
Problem with UDP Send/Receive & xPC Target
Before creating a more complex system, I am trying to establish communication, via UDP Send and Receive blocks, between two very simple Simulink models (one Host model, one Target model which will run on a Target machine using xPC Target). My Host Simulink model just contains a sine wave source block, routed into a ... 23 Dec 2009 15:10