Community Profile

photo

K E


Active since 2011

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

All
  • Knowledgeable Level 3
  • First Review
  • 12 Month Streak
  • Thankful Level 5
  • Revival Level 2
  • Knowledgeable Level 2
  • First Answer
  • Commenter
  • Solver

View badges

Content Feed

View by

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

7 years ago | 1 answer | 1

1

answer

Question


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

7 years ago | 1 answer | 0

1

answer

Question


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

7 years ago | 1 answer | 0

1

answer

Question


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

7 years ago | 1 answer | 0

1

answer

Question


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

7 years ago | 0 answers | 0

0

answers

Question


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

7 years ago | 1 answer | 0

1

answer

Question


Faster sliding window statistics?
I use <http://www.mathworks.com/matlabcentral/fileexchange/12550-slidefun slidefun> to estimate statistics such as max, min, or ...

7 years ago | 2 answers | 1

2

answers

Question


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

7 years ago | 1 answer | 0

1

answer

Question


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

7 years ago | 1 answer | 1

1

answer

Question


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

7 years ago | 0 answers | 0

0

answers

Question


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

7 years ago | 1 answer | 0

1

answer

Answered
How 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

answers

Question


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

answer

Answered
How 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

answer

Question


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

answers

Question


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

answer

Question


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

answer

Question


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

8 years ago | 0 answers | 0

0

answers

Question


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

8 years ago | 2 answers | 0

2

answers

Question


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

8 years ago | 1 answer | 0

1

answer

Question


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

8 years ago | 1 answer | 0

1

answer

Question


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

8 years ago | 1 answer | 0

1

answer

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

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

8 years ago | 2 answers | 0

2

answers

Question


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

8 years ago | 2 answers | 0

2

answers

Question


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

8 years ago | 4 answers | 0

4

answers

Question


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

8 years ago | 2 answers | 0

2

answers

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

8 years ago | 3

| accepted

Load more