Community Profile

Contact

Top 1% contributor

Is it possible to call a subfunction inside a mscript function and get the returned value? e.g., the content of 'func.m' as b...

2 Answers

0

Asked 7 months ago

I found the solution myself. Normalizing spectral amplitude by fs will work. But I don't know why to do this.

accepted

Answered 9 months ago

The energy of a signal is expected to be the same in t and f domain. n = 1e4; dx = 0.25; x = rand(n,1) -0.5; ...

Asked 9 months ago

As for cos(2*pi*t), the peaks locates at -1 and 1 Hz with a value of 0.5. It's correct. t = 0:0.1:10; x = cos(2*pi*...

1 Answers

1

Asked 1 year ago

I know when N is even, fft(x,N) corresponds to frequencies 0,df,...,N/2*df,-(N/2-2)*df,...,-df. What about if N is odd?

Walter Roberson <roberson@hushmail.com> wrote in message Thanks Walter. I've read it. I have had some experiments and found t...

6342 views

Responded 5 years ago

Some complement: For a small quandrangle V1V2V3V4, points V1 and V2 have the same latitude, so do points V3 and V4. Moreover, p...

Hi, Roger. Yes, I don't care elevation on solving the intersection. See the post above for more details.

Oh, it's some confusing. I think I must state my question again. At first, I deal with my problem on a spherical earth surface...

hi, guys. thanks for all your suggestions and discussions. I have looked throug and I'll read them carefully soon. All the point...

Altitudes are also known. Oh, perhaps, I must take altitudes into consideration. Does this work if A and B are not too far away...

The story below happens on Earth surface. There is an arc of a great circle (AB), the two endpoints of which are placed at (lat...

Posted 5 years ago

I found a solution to disable the security certificate. http://stackoverflow.com/questions/1638275/handling-an-invalid-security...

5130 views

That must be the reason. But there is no certificate dialog appearing on my computer.

Aurelien Queffurust" <tug83@yahoo.fr> wrote in message I can also open the url you gave. So, https is not the reason. I cannot...

I don't use a proxy (the option in Preference-Web unchecked). I can open many sites such as google, yahoo and facebook. But I ca...

I can open successfully the web url in IE and firefox. And I can open it with the web browser of a lower version of matlab. But ...

Given the latitudes and longitudes of two points, how to get the middle point efficiently? My trouble is there are millions o...

Asked 1 month ago

the matlab function gcwaypts generates points on the short arc of the great circle across two given points. How to get the f...

The license of a matlab toolbox allows only several users in the meantime. How to quit from the occupied license?

Why the second one gives rise to empty struct? s.a=1; s.b=2; s.c={} s = a: 1 b: 2 c: {} ...

n = 1000; t = 1:n; x = rand(1,n) - 0.5; x = sin(2*pi/100*t); y = decimate(x,4); figure('color','w'); ha = a...

Asked 10 months ago

I can access websites using the matlab web browser. I can NOT download a url link using 'urlread'. Is there any other mat...

I tried to get data from url 'http://trend.lecai.com/bjkl8Zst!bjkl8jbzs.jhtml?date=2013-03-20'. Access to the webpage works fin...

3685 views

Posted 2 years ago

I plotted a contour figure using 'contourf'. There is a '10^-3' label on the side of colorbar. I wanna remove it and make the ti...

3415 views

Posted 4 years ago

Thanks, Roger. Nice interpretation! In practice, I have been considering that the quasi-singularity of the matrix arises from th...

3024 views

Responded 3 years ago

Yeah, I used the backslash in my code. I'm linearizing a nonlinear inversion problem and solving A*m=b in a least squares sense...

3.40411799,-0.37565809,7.34175377,-1.17789516 -3.87102015,-0.13046468,8.34873435,-1.33945295 -3.87102015,0.13046468,8.34873435,-...

Posted 3 years ago

But there is actually a lot of memory on my computer. Symbolic computation is used in a custom-defined function. The error occu...

2988 views

The reason why I asked this question is, as you said, I run several instances synchronously. Changing findobj('Tag',xxx) into fi...

2902 views

Responded 6 years ago

Load more