Community Profile

Contact

Top 1% contributor

I found the doc. http://www.mathworks.com/help/matlab/matlab_prog/variable-names.html#btcg64o-1 Another potential source...

accepted

0

Answered 6 months ago

I have a mex function which reads data from a file and process it result = mex_process_data(string_path_to_file); The da...

3 Answers

Asked 1 year ago

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

Answered 2 years ago

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

7565 views

Responded 6 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 6 years ago

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

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

function myfunctest subfcn_set('notafunc'); whos which notafunc notafunc subfcn_set('sin'); whos...

2 Answers

Asked 6 months ago

We have to know the data type when using `sprintf` and it can convert limited types to string. disp(var) can show the conte...

Asked 7 months ago

If a matlab script is running, in what situations the modifications of the code will take effects immediately for the running sc...

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

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 2 years ago

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

1 Answers

1

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

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?

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

4610 views

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

4122 views

Posted 5 years ago

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

3799 views

Responded 4 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 4 years ago

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

3648 views

Responded 7 years ago

Thanks, findobj(gcf,'Tag','haha') works well.

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