K E
Followers: 0 Following: 0
Use Matlab for statistics and time series analysis and Simulink for machine modeling. Fan of community-based learning like Matlab Answers; appreciate the help I've gotten here.
Professional Interests: Statistics; marine engineering and hydrodynamics; surface wave dynamics; motor design
Statistics
RANK
455
of 295,448
REPUTATION
172
CONTRIBUTIONS
117 Questions
75 Answers
ANSWER ACCEPTANCE
83.76%
VOTES RECEIVED
98
RANK
of 20,227
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
How to plot a vertical line at a certain datetime
I am using datetime to plot some time series data. I would like to add a vertical line to mark a certain date on the plot. How d...
8 years ago | 1 answer | 1
1
answerQuestion
How to assign default values to function inputs
I have a function with some required inputs, heatContent = function(swRadiation, lwRadiation) If the user passes in [] f...
8 years ago | 1 answer | 0
1
answerQuestion
How to set the number of x-axis ticks on a datetime plot?
If I plot a variable y at times given by a datetime vector t, the x-axis ticks are automatically chosen, t = [datetime('no...
8 years ago | 1 answer | 0
1
answerQuestion
Fastest way to read in large mixed text file?
I have an ASCII file with 300000 lines with the following format: 01-01-1979T00:00:00 722816.000000 128.783100 0.027240 0.0...
8 years ago | 1 answer | 0
1
answerQuestion
Matlab coder executable to run in Labview
I am new to Matlab <https://www.mathworks.com/products/matlab-coder/ Coder> and <http://www.ni.com/labview/why/ LabView> but int...
8 years ago | 0 answers | 0
0
answersQuestion
How to speed up manipulations of plot with a lot of data
I have time series with 20000000 samples that I am plotting in R2016b for data exploration. I would prefer not to downsample or ...
8 years ago | 1 answer | 0
1
answerQuestion
Faster sliding window statistics?
I use <http://www.mathworks.com/matlabcentral/fileexchange/12550-slidefun slidefun> to estimate statistics such as max, min, or ...
8 years ago | 2 answers | 1
2
answersQuestion
Automatically generate program logic flow chart from mfile?
I just discovered <http://code2flow.com/# code2flow> which is great for mapping out the logical flow of code, for example when d...
8 years ago | 1 answer | 0
1
answerQuestion
How to use datetime to plot value vs. hour of day, i.e. daily cycle?
Let's say I have a time series of humidity with <http://www.mathworks.com/examples/matlab/mw/matlab-ex44241397-plot-dates-and-du...
8 years ago | 1 answer | 1
1
answerQuestion
How to time out a Matlab command?
Is there a way to time out a Matlab command within a mfile, so that mfile execution resumes after a certain time spent on the Ma...
8 years ago | 0 answers | 0
0
answersQuestion
How to eliminate 'print -dmeta' crash?
Is there a way to either (a) prevent 'print -dmeta' from crashing Matlab, or (b) to preserve a figure window's aspect ratio when...
8 years ago | 1 answer | 0
1
answerHow to retreive Windows shell hint for a file using Matlab?
It turns out this information is in the binary file itself and I used <http://www.mathworks.com/matlabcentral/fileexchange/9647-...
8 years ago | 0
Question
How to close editor from the command line?
I accidentally opened a huge file in the editor and it won't close, and when I restart Matlab the editor reopens the huge file. ...
8 years ago | 2 answers | 0
2
answersQuestion
How to retreive Windows shell hint for a file using Matlab?
When you hover your cursor over a file in Windows 7, you get a 'shell hint' such as the 'Model State' property shown in the scre...
8 years ago | 1 answer | 0
1
answerHow to save a command history of commands implemented yesterday from 3:00 pm to 5:00 pm?
If you did not set anything up ahead of time, I don't know if this can be done. But if you know ahead of time, you can use the <...
8 years ago | 0
Question
How can I load a field from a saved structure?
For my work, it is convenient to store measurement data in structures with many fields. The structure is useful for keeping all ...
8 years ago | 1 answer | 0
1
answerQuestion
How can I add a patch which lies underneath an existing line?
If I have a plot containing a line, I would like to add a patch but have it appear under the line so the line remains visible. (...
8 years ago | 2 answers | 0
2
answersQuestion
How can I pass control back to the MATLAB command prompt after keyboard command?
I am debugging some code and have inserted a keyboard command into a loop. The code generates a figure, then when it hits the ke...
8 years ago | 1 answer | 0
1
answerQuestion
How to rewind in VideoReader?
If I have read several frames in VideoReader, how can I rewind to the first frame? In this example, let's say I stop the repla...
8 years ago | 1 answer | 0
1
answerQuestion
Why "Name is nonexistent or not a directory" only when Adminstrator?
In the past couple days, Matlab has developed some strange behavior: If I run it as an administrator, it can't seem to access a ...
9 years ago | 0 answers | 0
0
answersQuestion
How to check if handle is to a deleted axes?
I am running an old plotting routine in R2015b for the first time. It is crashing on a legend command because apparently the axe...
9 years ago | 2 answers | 0
2
answersQuestion
How to extract user entered properties from Simulink Lowpass Filter block?
My colleague has a simulink model ('DataFiltering') which contains a block called 'Lowpass' where the user can enter values for ...
9 years ago | 1 answer | 0
1
answerQuestion
Looking within search path for a directory containing a chosen string
I have many directories on my search path and would like to search for path directories that contain a certain string, say 'matl...
9 years ago | 1 answer | 0
1
answerQuestion
Is trial overwriting my legitimate Matlab installation?
I have a paid-up installation of Matlab R2015a and many toolboxes. I want to try two other toolboxes and requested/received a tr...
9 years ago | 1 answer | 0
1
answerMatlab v7 not compatible with FITDIST Function ? Anybody Knows???
<http://www.mathworks.com/help/stats/fitdist.html?refresh=true fitdist> seems to require the Statistics and Machine Learning Too...
9 years ago | 0
Question
Why does linspace deliver unequal spacing?
I thought linspace was supposed to deliver a vector with perfectly even spacing, but there seems to be a slight difference in sp...
9 years ago | 2 answers | 0
2
answersQuestion
How to interpolate and leave NaNs if long gaps?
I have a temperature measurement (x) which is sampled nearly-regularly in time (t), except for data dropouts (missing t,x values...
9 years ago | 2 answers | 0
2
answersQuestion
Why can't I access day, juliandate?
I have R2015a and can see help for <http://www.mathworks.com/help/matlab/ref/day.html day> and <http://www.mathworks.com/help/ma...
9 years ago | 4 answers | 0
4
answersQuestion
Why is ncread reading in times which are wrong by a year?
I am getting the wrong year when I read in data from the file below using ncread. url = 'http://nomads.ncep.noaa.gov:9090/d...
9 years ago | 2 answers | 0
2
answersHow to extract x and y position of contour line?
Just realized that the contour matrix cc now seems to contain x and y location data, pcolor(x, y, z); % Plot the data ho...
9 years ago | 3
| accepted