error fmincon
Hi, I'm trying to use the fmincon function for 2 variables vec1 and vec2: Code: global par1 par2 par3 par4 par5 par6 par7 vec1 vec2 vec1 = linspace(.001, 2, 200) vec2 = linspace(.001, .5, 50) mat1 = zeros( length(vec1), length(vec3) ) %bounds: 0 < vec1 < z %bounds: -inf < vec2 < inf for i = 1:length(... 18 Mar 2010 23:27
How to Assign Color Profile
"Rudolf " <timbobel(a)gmail.com> wrote in message <hcapia$d1f$1(a)fred.mathworks.com>... Hello all. I have stumbled upon a difficulty. I want to assign colorprofiles to images. I know i can read them (iccread) and write icc files themselves (iccwrite). But how can i attach a colorprofile to an image itself!? I cant f... 18 Mar 2010 09:18
command window
hi I want to ask something about matlab. when I run my editor ,my command window says '' empty state - space model '' it doesn't calculate my math operation. moreover how can I solve this problem? thank you.. ... 17 Mar 2010 18:39
fzero
Hi, I am using fsolve to find the roots of the cubic equation. I get results for almost 3/4th of thecalculations but for the last values I get the below error. ??? Error using ==> fzero at 334 Function value at starting guess must be finite and real. How can I stop this error. Is there any function so that i... 17 Mar 2010 18:39
fzero
Hi, I am using fsolve to find the roots of the cubic equation. I get results for almost 3/4th of thecalculations but for the last values I get the below error. ??? Error using ==> fzero at 334 Function value at starting guess must be finite and real. How can I stop this error. Is there any function so that i... 17 Mar 2010 17:23
multiple y axis labels and scales
Hi Folks Heres the scenario I have 3 variables: 1. Time (x axis) 2. Acc (y axis left) 3. Signal (y axis right) I have used plotyy, but I need to have 2 scales on the y axis and th right hand side one needs to be offset from th left. The left axis is -10 to 10, and the right hand axis is -0.1 to... 18 Mar 2010 07:03
Java Exception Object
This is an old post, but I haven't seen if the question ever got answered and I've run into the same issue - is there any way to get access to Java's exception object when a Java exception happens in Matlab? Thanks! rtServo <noone(a)nowhere.com> wrote in message <953cl3lfn36st9elhp9c4d39j8neck5ne7(a)4ax.com>... On... 17 Mar 2010 18:39
Rate Limiter equivalent model?
Dear, is it possible to express the rate limiter block (http:// www.mathworks.com/access/helpdesk/help/toolbox/simulink/slref/ratelimiter.html) of simulink as combination of other control blocks continuous time. Is there any equivalent way of expressing it? Any reference is welcome. Thank you in advance Fortunat... 17 Mar 2010 17:23
convert from cell to double
How do I convert a cell to double? Thanks ... 17 Mar 2010 17:23
calcualting velocity of object (s) in a video sequence.
Hi, I want to compute the velocity of moving objects from their image frames. Let us say I have X number of frame obtained from a video sequence and I have found the centroid of each object in each frame i.e. x, y coordinates of each object's mass center. Now by using these vectors of centroids I want to compute the v... 23 Mar 2010 13:37