pcolor and contour on same axis I've learned that I can overlay a contour onto a pcolor by plotting the pcolor first, copying the caxis to a temporary variable, plotting the contour, and then setting caxis back to the saved value. This, however, always results in the contour being on top of the pcolor (e.g. drak black lines on my pcolor). What I'... 8 Aug 2010 00:30
mex -setup failure When running mex _setup, an error is reported, how should i do? thanks Sincerely YCW Would you like mex to locate installed compilers [y]/n? y Select a compiler: [1] Microsoft Visual C++ 2008 in c:\Program Files (x86)\Microsoft Visual Studio 9.0 [0] None Compiler: 1 Please verif... 11 Aug 2010 18:02
how can I see my old watch list Hello: I click My Community Profile, which seems to display only some of them. I can not see other threads in my watch list. Regards, JH ... 6 Aug 2010 19:16
Removing a dot from decimal numbers You might have a look at the STRREP function. ... 6 Aug 2010 20:22
Removing a dot from decimal numbers Hi all, a quick question. I would like to remove the dot in the decimal number in order to include it to a file name. So if d=0.1;, num2str(d) will convert it to string, but is there something simple to get d to '01' (such as nonzero is for zeros)? Thank you, Aino ... 6 Aug 2010 18:11
Deleting part of a figure I have 3 figures with the x values ending in 200, 6000 and 2000. I need to do a comparison so I need to cut figures 2 and 3 so that they too end after 200. Is there a way of doing this that will not require me re-plotting the graphs? Maybe a code that will get the values from 0-200 after cutting the graph and displayin... 6 Aug 2010 17:05
Need help selecting new PC to be xPC Target Host I've been in the process of setting up an extremely involved/complex system that involves the following software (note that all Mathworks software listed is consistent with the R2007b Matlab that I'm constrained to using): Matlab R2007b Simulink (models call MEX files & C-MEX s-function) RealTime Workshop xPC Tar... 10 Aug 2010 14:41
Retrieving image from webcam (very slow) I need to extract and process images from a webcam. The follwoing code does work however it is very slow (i.e. takes 0.67 to retrieve an image from the camera), the code which i found online is : %%%%%%%%%%%%%%%%%%%%%%%%%%%%% vid = videoinput('winvideo',1,'YUY2_320x240'); % Set video input object properties for ... 6 Aug 2010 17:05
robust portfolio estimation, M estimator of risk Hello, following is an objective function that i want to minimize; To find; MIN ( (1/T) * sum (p (w'*r - m)) ) w,m s.t. w'*e = 1, (e is a vector of ones) here 'p' is a convex symmetric function which follows p (anything) = | anything | or modulus... 6 Aug 2010 17:05 |