Community Profile

photo

Ray Lee


35 total contributions since 2014

Contact

Ray Lee's Badges

  • Revival Level 1
  • Thankful Level 2
  • First Answer

View details...

Contributions in
View by

Answered
Lanczos algorithm for eigenvalues
The builtin function eigs is what you want.

7 months ago | 0

Question


What is the advantage of fliplr, flipud?
It's easy to flip along a dim using `end:-1:1`. So why design the builtin fliplr, flipud functions?

7 months ago | 1 answer | 0

1

answer

Question


Is there a way to remove or rename a variable in a big MAT file?
I want to rename/remove a variable in very large MAT file but want to avoid load all the data, modify variables and write all ne...

1 year ago | 1 answer | 1

1

answer

Question


What is "start simulink ..."
When I'm running `which` command, there is a "start simulink" message in the status bar. Why `which` is linked to simulink?

1 year ago | 0 answers | 0

0

answers

Question


Is 2d colormap supported by matlab?
Generally in matlab we use 1D gradient colormap as <<http://blogs.mathworks.com/images/steve/2014/parula_part_2_01.png>> H...

2 years ago | 1 answer | 0

1

answer

Question


Warnings/Errors when quit matlab
I got warnings when exit matlab Warning: The following error was caught while executing 'internal.hotplug.EventSource' ...

2 years ago | 0 answers | 0

0

answers

Question


Is there existing function for great-circle least-square fit?
Is there existing function to fit a great circle to points on a sphere?

2 years ago | 0 answers | 0

0

answers

Question


Is it possible to rotate the markers plotted by `plot` or `scatter`?
As for plot(1:3,1:3,'linestyle','none','marker','v'); or scatter(1:3,1:3,'v','filled'); Is it able to rotat...

2 years ago | 1 answer | 0

1

answer

Question


Is there a way to add track-like boarder to the mapping axes?
As for the white-black alternative track boarder as in the following figure, how to make that in Matlab? <<http://gmt.soest.h...

2 years ago | 0 answers | 0

0

answers

Question


How to plot the brightness lines in Matlab, as this picture?
<<https://d262ilb51hltx0.cloudfront.net/max/2000/1*3QWmqtaUPYW_hdNgQCf44g.png>> Higher dense the path, higher brighness shown...

2 years ago | 2 answers | 0

2

answers

Answered
`distance` function doesn't work for ellipsoid
I found that it's a bug in .../toolbox/map/map/private/geodesicinv.m Two places of flat = ecc2flat(ellipsoid); ...

2 years ago | 0

| accepted

Question


`distance` function doesn't work for ellipsoid
e_84 = referenceEllipsoid('wgs84'); [d_84, b_84] = distance([1,2], [30,90], e_84); throw Error using / Matrix ...

2 years ago | 1 answer | 0

1

answer

Answered
Can anyone explain how can this happen?
I found the doc. http://www.mathworks.com/help/matlab/matlab_prog/variable-names.html#btcg64o-1 Another potential source...

3 years ago | 0

| accepted

Question


Can anyone explain how can this happen?
function myfunctest subfcn_set('notafunc'); whos which notafunc notafunc subfcn_set('sin'); whos...

3 years ago | 2 answers | 0

2

answers

Question


Will it be a good idea for MATLAB Answers provide functions enabling us follow/favorite a topic/question?
It seems there is no such utility yet.

3 years ago | 1 answer | 0

1

answer

Question


Is there any function which returns the content of a variable as string?
We have to know the data type when using `sprintf` and it can convert limited types to string. disp(var) can show the conte...

3 years ago | 2 answers | 0

2

answers

Question


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

3 years ago | 2 answers | 0

2

answers

Question


regarding the startup options
How do I know if it's ok to run my script with '-nojvm'? And what's the difference between '-nodesktop' and '-nodispaly -nosp...

3 years ago | 1 answer | 0

1

answer

Question


What's the effect to start up Matlab with -nojvm?
I cannot use anything related to java, or only part of functions related to java?

4 years ago | 1 answer | 0

1

answer

Question


Is it must necessary to apply a tapering to the signal before the bandpass filtering using filtfilt?
In the help doc of filtfilt, it says "filtfilt minimizes start-up and ending transients by matching initial conditions ..." I do...

4 years ago | 0 answers | 0

0

answers

Question


Workaround for fake file in memory?
I have a mex function which reads data from a file and process it result = mex_process_data(string_path_to_file); The da...

4 years ago | 3 answers | 0

3

answers

Question


In eqdazim mapping, how to plot a limited range of latitudes and longitudes with an origin off pole points?
I wanna plot a map in eqdazim (or other equal azimuth) mapping, with the origin at (50,20) and the outer frame boundary stopping...

4 years ago | 0 answers | 0

0

answers

Question


How to calculate the middle point between two points on the Earth in matlab?
Given the latitudes and longitudes of two points, how to get the middle point efficiently? My trouble is there are millions o...

4 years ago | 1 answer | 0

1

answer

Question


about the built-in matlab function decimate
In the matlab function 'decimate', the input signal is firstly lowpass-filtered, then downsampled. In the code, I found that ...

4 years ago | 1 answer | 0

1

answer

Question


Is it possible to call a subfunction inside a function mscript?
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...

4 years ago | 3 answers | 0

3

answers

Answered
energy of a signal in t and f domain
I found the solution myself. Normalizing spectral amplitude by fs will work. But I don't know why to do this.

4 years ago | 0

| accepted

Question


energy of a signal in t and f domain
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; ...

4 years ago | 2 answers | 0

2

answers

Question


How to get the points of [lat, lon] of a full great circle?
the matlab function gcwaypts generates points on the short arc of the great circle across two given points. How to get the f...

4 years ago | 1 answer | 0

1

answer

Question


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

4 years ago | 1 answer | 0

1

answer

Question


question about the 'stuct' of matlab?
Why the second one gives rise to empty struct? s.a=1; s.b=2; s.c={} s = a: 1 b: 2 c: {} ...

4 years ago | 1 answer | 0

1

answer

Load more