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...

34054 views

Responded 8 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...

22403 views

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

21823 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 8 years ago

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

20698 views

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

16189 views

Responded 7 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...

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...

14671 views

Posted 6 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...

13851 views

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

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 ...

13300 views

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

9584 views

Responded 6 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...

8958 views

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

8953 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...

8710 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...

8687 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,...

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...

6993 views

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

If I got your point,you have just to set the clim property. Note,however,that you'll loose precision for the map where the z val...

6581 views

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...

6507 views

Thanks for the reply don't think it makes a differces; however,yes you're right,in the ode I posted is useless,it is ramainer f...

I´m sorry,I have to re-open my post, since it was submerged by the spam... Hi, I'm struggling doing a very simple thing: I have...

that was stupid, don't consider it.

6356 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)

Load more

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a location from the following list:

See all countries