Community Profile

Contact

Top 1% contributor

it's not clear...if you know that all your point are on a line, you just need to take 2 of them to find m and q m=tan(dx/dy) (d...

27666 views

Responded 7 years ago

don't know if there is a faster way...I do like this: shift=n_shift; b=repmat(a,[1,3]); b=b(size(a,2)+shift+1:2*size(a,2)+shift...

20405 views

Search for barweb in the file exchange... I found it pretty nice. Cheers "Gary Mirams" <gary.mirams@gmail.com> wrote in mess...

18601 views

Yes, we are talking about the diagonal of the Pvalue: I think it should test the probability of not being correlate, both with...

18555 views

I don't know what is the answer; i know that in the example I gave, p-value obtained with corrcoef aren't 0, but 1. Secondly, a...

So the only difference is in how P is calculate? x=0:0.1:10; y=x.^2+rand(1,101); plot(x,y) X=[x(:),y(:)]; [a,b]=corrcoef(X) [c,d...

Dear all, i have a very stupid question: what is the difference between [r,p]=corr(X) and [r,p]=corrcoef(X)? it seems that...

Posted 7 years ago

You might just sloghtly modify it; take your matrix M,transform it in a column ( M(:) ) and sort it. Then you can modify uniqu...

12256 views

help 'unique' "friendly ferolino" <friendly_ferolino@yahoo.com> wrote in message <g98e22$qfn$1@fred.mathworks.com>... (s)

Hallo, Unfortunaltely my memories of signal spectral analysis are quite old. As far as I remember, if you estimate the spectrum ...

12031 views

Responded 6 years ago

It is not clear to me why you multply input and output by a window. Did you awnt to do perodogram estimation?in that case you sh...

color_table=[linspace(0.1,0.9,100)',rand(100,1),rand(100,1)];%this is just random %colors you can make your own color_table for ...

11477 views

I don't have the resizem function.This code does what resize(A,.5) does, don't know if faster... A=rand(1200); s=size(A); i1=(1...

11098 views

Posted 6 years ago

I'm sorry,I cannot understand what you mean with "matlab-native".On the FEX you'll find very efficient algorithm for plotting ba...

9094 views

Hi,glad it helped. So the idea was to give a hint for the simple case of a monotonous function. You could have just had a look t...

7646 views

ok, I see now your original problem, http://www.mathworks.com/matlabcentral/newsreader/view_thread/270178 now I think I got wha...

sorry,it was oviously -q/m This is no exponentaial, it's just that you are computing the surface over a rectangular grid. Of c...

I'm not sure I understood what you need: imagine you have the line y=mx+q you can compute the surface generate by rotation in x,...

COuld you provide some lines representing your code? It is difficoult to understand what it might be wrong,otherwise.

7114 views

Responded 5 years ago

which kind of filter (or filter technique) did you use?What was the sampling frequency, and how long is the singal? Is the signa...

6891 views

Maybe I misanderstood...it's not enough to divide the number by 1000 and use sprintf('%0.3f',number)? I apolguze if I misander...

6437 views

I'm not sure whether the data of the guy had a kink...it seems more that he has two data set, i.e. x1 and x2, with two different...

5999 views

you can use logical indexing to divide your data set and make a fit for each group. regards

Thanks a lot "Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <g7hua2$kvl$1@fred.mathworks.com>... need a the

5847 views

OK, I found a nice file in the exchange for find the cordinates of a particualr level(getcon): now I just need a fast way to d...

Hi everybody, Someone can tell me what is the fastest way to get the points of a contour map's levels having the C matrix? And...

that was stupid, don't consider it.

5592 views

Bruno Would be ok if instead of rand one use unifrnd? r=(a,b,n,1) a=(0,2*pi,n,1) e=(0,2*pi,n,1) [x,y,z]=sph2cart(a,e,r)

there is a small mistake in the previous code; the first figure should be figure(z*2-1) anyway I solved, it was quite stupid. I...

5489 views

Load more