First  |  Prev |  Next  |  Last
Pages: 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762
returning variable from perl script
"Todd Welti" <twelti(a)harman.com> wrote in message <hs1pap$91k$1(a)fred.mathworks.com>... Is it possible to return a variable from a Matlab call to a perl script? I am not a per programmer, but tried adding return 0; to the end of the hello.pl examplt script (from Matlab documentation) and called i... 7 May 2010 16:44
returning variable from perl script
Is it possible to return a variable from a Matlab call to a perl script? I am not a per programmer, but tried adding return 0; to the end of the hello.pl examplt script (from Matlab documentation) and called it: a = perl('hello.pl','World') But I get error in perl.m ??? Error using ==> perl at 82 Sys... 7 May 2010 15:37
For Loop fo an m-by-1 matrix
Hello guys, I can not figure out how to make a for loop for a m-by-1 matrix (hence a 1 column vector) with which I start at the second element and subtract the previous element and then repeat this operation on the following elements. How can I do this ? for example I have an excel column called "Ref" that is made ... 8 May 2010 13:24
help regression line
i need to create a function using [m,b]=bestfit_PG(x,y) this function finds the best fitline for a set of data x and y and returns the slope m and the y-intercept b of the line. i was told to usse regression line the .formula for m and yintercept, but i am havind trouble translating those formulas to matlab ... 7 May 2010 15:37
Probability
Hi this is my 3rd time using matlab i need help with something really simple. Here's my problem: Start with point #1(i=1) whose coordinates are X(i)=0 and Y(i)=0. Calculate the coordinates of the nxt point according to the following rule: Randomly choose one of the following four events: A,B,C or D. probabil... 7 May 2010 15:36
help!!...One or more output arguments not assigned during call
%%%%%%%%%%%%%%%%%%%%%%%%% % ENCODER % [x,Fs,bits] = wavread(file); xlen=length(x); t=0:1/Fs:(length(x)-1)/Fs; %decomposition using N equal frames step=frame_size; N=ceil(xlen/step); %computational variables Cchunks=0; Lchunks=0; Csize=0; PERF0mean=0; PERFL2mean=0; n_avg=0; n_max=0; n_0=0; n_vector=[]; ... 9 May 2010 09:57
MATLAB postive integer error message?
Hi, I'm having the "index must be a positive integer or logical" error message on the following. I think this is because my h is 0.025 i.e. not an integer but I need to put the stages of y1 into a matrix so I can plot (t,y). How can I get around this? Or is there another problem with the code that I'm not noticing? ... 7 May 2010 15:36
binary serial read
Hello, I'm trying to read unformatted bytes from a serial port. All matlab examples I can find are for reading formatted text. Does anyone have any idea how to do this? Thanks ... 7 May 2010 16:44
Probability
Hi this is my 3rd time using matlab i need help with something really simple. Here's my problem: Start with point #1(i=1) whose coordinates are X(i)=0 and Y(i)=0. Calculate the coordinates of the nxt point according to the following rule: Randomly choose one of the following four events: A,B,C or D. probabil... 7 May 2010 14:29
Any idea how to tell MATLAB specific colour for a computer mouse function??
I need help here How do MATLAB know a specific colour is used for a mouse function? Im using colour and shape detection. So, what code do I add to state that red,circle is used to move the mouse cursor? ... 8 May 2010 13:24
First  |  Prev |  Next  |  Last
Pages: 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762