Problem trying macaulay brackets with max(
Hi guys, I've just started an engineering project in 2nd year, and have also started matlab recently. I'm trying to make macaulay brackets work with matlab, and apparently doing the max(x-start,0) is the way to do that. However, when I try to do this I get an unspecified error. I'm sure it's a basic thing I've do... 20 Oct 2009 14:29
GADS toolbox gacreationlinearfeasible
I'm having a problem with the @gacreationlinearfeasible function in the GADS Toolbox. My call to ga: [x fval exitflag output population scores] = ... ga(f,length(x),A,b,Aeq,beq,lb,ub,nonlcon,gaopts); where f = @(x)objfunc(x,myarg1,myarg2,...,myargN); and x is of length 14: x = [15 7 0 0.0105 2 1535 ... 20 Oct 2009 13:22
Problem with chi2pdf command
Hello everyone: I am using the command below to find the probability of chi-square larger than 0.0052 with 1 degree of freedom: chi2pdf(0.0052,1) for this I am getting a probability of 5.5164 which is larger than 1 (the probability should vary between 0 and 1). Any comment on this is much appreciated. Yours, M... 20 Oct 2009 13:22
Integer operands are required for colon operator when used asindex
noam fisher wrote: Appears to me this error message: Warning: Integer operands are required for colon operator when used as index What does it mean? What should I do? A) Means can't have _non_-integer subscripts for arrays. B) Use an integer or round the float to an integer... Perhaps show yo... 20 Oct 2009 09:59
Integer operands are required for colon operator when used as index
Appears to me this error message: Warning: Integer operands are required for colon operator when used as index What does it mean? What should I do? thanks ... 29 Oct 2009 12:03
replace inf values in vector by zero's
"Johan-Mark Sikkema" <johanmark82(a)gmail.com> wrote in message <hbkcca$4r7$1(a)fred.mathworks.com>... Hi, I have a vector of values Ar, then I calculate a value Re1 with a logical vector so for certain vector values Re is calculated otherwise 0 is put in the vector. The vector Re1 is used to calculate a vector C... 20 Oct 2009 09:59
xlsread-multiple sheets
Hi there; I would like to read multiple excel sheets and save each sheet as separate matrix. I have tried below but there is a problem yet. Any help would be appreciated. %-------------------------- [type,sheetname] = xlsfinfo('test.xls'); m=size(sheetname,2); for(i=1:1:m); Sheet = char(sheetname(1,i)) ... 10 Nov 2009 02:37
Dynamic Model of a Synchronous Generator
Hallo, I am making a model of Synchronous Generator to be used in a power plant. Subsequently i have to design my auxiliary loads in power plant and the power network. First i have to build the Synchronous Generator model in Simulink. But finally i have to built it in another simulator which has only simple comp... 12 Dec 2009 08:04
normal inverse gaussian
hi, i got a problem to plot NIG (normal inverse gaussian) graf. i found the function created by someone in matlab link exchange. for example, to plot pdf graf, you need y = nigpdf(x, alpha, beta, mu, delta) in order to get alpha, beta , mu and delta, you need to know mea... 20 Oct 2009 05:38
harris features correlation
Dear all, I've a view of a parking lot, I periodically apply harris detector to the image and, where cars are present it find many points of interest. I would like to answer the question : are the points in the same position of the image before or strongly similar? I tryed the function matchbycorrelation.m a... 20 Oct 2009 05:38