adding plot information to image (multi plot handling like one image)
Hi, i am dealing with this problem: a have an image and into that image i need to plot lines, i am doing that like this: figure, imshow(image), hold on for kp = 1:length(lines) xy = [lines(kp).point1; lines(kp).point2]; plot(xy(:,1),xy(:,2),'LineWidth',3,'Color','green'); end for kp = 1:length(lines2... 4 Feb 2010 21:21
Too much uicontextmenu entries
Hi, in the newer version of Matlab (> 6.5) if I create an uicontextmenu with too much entries (uimenu), I don't see all the entries (this is normal since the screen size is limited) but I cannot access them anymore as in the older version. Is this a bug or is there a special trick I ignore ? Please don't suggest me ... 5 Feb 2010 03:56
Matlab stealing focus on computer
So, I have a C# application which calls Matlab: MLApp app = new MLApp(); app.Execute(...); This executes a .m file I have which produces a figure of a graph that pops up in a new window. Every 10 seconds, I reexecute this .m file in order to update the graph with new data. This causes Matlab to steal the focus o... 5 Feb 2010 10:31
MIMO in system identification
Hello, I just wonder if the Commands for Recursive Estimation in system identification toolbox like rarmax,rarx,.... estimate parameters for Multi- input/multi-output data?If not if anybody has the code in such way? Your help is really appreciated? ... 8 Feb 2010 12:13
Axis break in boxplot
Hi all, Does anyone know how to (or if it is possible to) create a break in the axis of a boxplot figure? I don't mean just removing certain ticks or tick labels, but actually not plotting part of the scale, and putting hash marks in instead, -----/ /----- ? I have an outlier that makes the scale so large I can'... 5 Feb 2010 18:25
using mod
I have this formula can someone explain what it means? X( mod((1:end)-k-1, end)+1 ) I know X = my_vector mod is the modulus after division (unclear) but it gets confusing at the indexing portion.... Can anyone take some time to explain this? ... 4 Feb 2010 15:42
color order in colorbar
Hi All, I need to flip the order of colors in my colorbar. In an online search, all I have found is a way to flip the actual colormap colors. This is not what I want to do. Right now I am mapping temperature using the colormap Jet. Cooler temps are blue and warmer are red. The top of my plot is at 0 degrees and it g... 5 Feb 2010 12:49
Active x in simulink
I have one Boolean [4 x 1] array which is shown with scope in simulink. I want to take specific action when binary 1 comes. In This specific action i want to control the window photo gallery with active x . Means i can simply say that when 1 comes in binary array[at run time] i want to display next image in window pho... 4 Feb 2010 14:34
Image mosaic(panorama) generation using block matching
Hi list, Im trying to do image Mosaics(panorama) using motion estimation algorithms. I found some motion estimation code here, but I need some help. After i get the motion estimation vector how can I find the matching blocks? I mean the exact co ordinates of the blocks matching in the two images? pls help me than... 4 Feb 2010 14:34
cell referncing
Hi, My issue is best served with an example. Suppose I have.... a{1}.val = 1 a{2}.val = 2 a{3}.val = 3 Is there a quick way of doing this without using a loop... for i = 1:3 atot{i} = a{i}.val end i.e., something like.... atot = a{1:3}.val... (which doesn't work) Arwel ... 5 Feb 2010 15:03