Community Profile

photo

Richard


2011년부터 활동

Followers: 0   Following: 0

연락

통계

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

배지 보기

Feeds

보기 기준

질문


re-build time series from pwelch after removing peaks in the spectra
I have time series data that is similar to the following: t = 3650; % number of days in ten years t = 1:t; % generate ti...

8년 초과 전 | 답변 수: 1 | 0

1

답변

질문


find and store index for consecutive numbers
Consider the following: Jday = datenum('2009-01-01 00:00','yyyy-mm-dd HH:MM'):1:... datenum('2009-12-31 23:00','yyyy...

대략 11년 전 | 답변 수: 1 | 0

1

답변

질문


add additional parameter to contour plot to generate 3d plot
I have an equation which has 3 unknown variables V, s, and T. I want to produce a contour plot that shows what happens when each...

대략 11년 전 | 답변 수: 2 | 0

2

답변

질문


replace nan values with the mean of other cell array
Consider the following example: Jday = datenum('2007-01-01 00:00','yyyy-mm-dd HH:MM'):1:... datenum('2009-12-31 23:0...

대략 11년 전 | 답변 수: 1 | 0

1

답변

질문


introduction to matlab I/O
I have some files that collect high resolution acoustic measurements and I wish to import some of the information into matlab wh...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


solving simple equations in matlab
I have 2 variables: d1 = 1:5; d2 = 6:10; I would like to calculate 'dat', which is given by: dat = d1./(10.*d2);...

11년 초과 전 | 답변 수: 3 | 0

3

답변

질문


calculate week of year
I have an annual time series where measurements are recorded at hourly intervals: StartDate = '2011-01-01 00:00'; EndDat...

11년 초과 전 | 답변 수: 2 | 0

2

답변

질문


short time fourier transform
I would like to perform a short time fourier transform (STFT) to a synthetic data series. I can compute the fourier transform by...

11년 초과 전 | 답변 수: 3 | 0

3

답변

질문


plotting in time domain - update plot
I'm working through an example I saw online concerning vertical motion under gravity. The following code and plot shows the outc...

11년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
Why does the first value in loop get overwritten
Try Fi = [0,0.8:0.05:1]; T = 160; NPV_list = NaN(length(Fi),1); for fi = 1:length(Fi); F = Fi(fi); l...

11년 초과 전 | 0

질문


difficulties with datetick and subplot dimensions
I have several time series that I am trying to analyse and I am plotting all the series in different subplots and scatter plots....

11년 초과 전 | 답변 수: 0 | 0

0

답변

답변 있음
Hi, I'm trying to figure out why my script is only ploting the last input angle, not regarding any of the loops before it.
Try to put hold after the plot command: plot(x,y); hold on;

11년 초과 전 | 0

답변 있음
how to omit the the dot and numbers
Not sure yet about cancelling the numbers, but you could omit the dots as follows: tt = {'a','0','.','c','1','.','c','3','....

11년 초과 전 | 1

답변 있음
Saving outputs in workspace
Maybe use assignin --> <http://www.mathworks.co.uk/help/matlab/ref/assignin.html>

11년 초과 전 | 1

| 수락됨

질문


replace missing values in a matrix
Consider the following: A = [1,1,1; 2,3,1; nan,3,1; nan,3,nan]; how would I replace the missing val...

11년 초과 전 | 답변 수: 2 | 0

2

답변

질문


find number of columns on text file
Is it possible to determine the number of columns in a text file prior to importing the data into matlab? I can determine the...

11년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
no degree symbol
I dont know if this will help but I use ^{o} so for temperature in degrees C I type xlabel('Temperature ^{o}C');

11년 초과 전 | 9

질문


removing a loop from a script
I have a matrix 'd' which represents air temperature at specific heights above the ground and for different days of the year. Ea...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


replacing nan values with the mean of a moving window
From the following: t = transpose(1/24:1/24:40); data1 = 1+(30-1).*rand(length(t),1); Randm = floor(1+(length(t)-1).*...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


extracting values at set intervals from a vector
From the following vector: depth = [0:0.1:20]; How could I create a new vector that had the same data as 'depth' but a v...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


explanation for script containing while loop
I was given a script for reading data from a specific file, and although the script works, I don't understand one section of it,...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


gain information from a .cnv file
I have some data stored in a .cnv file, the data is stored as follows: # <!-- Pressure voltage, Pressure, Strain Gauge ...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


re-formatting a matrix
This is a simplistic example of a problem I am facing: depth = [0:1:20]'; data = rand(1,length(depth))'; d = [dep...

11년 초과 전 | 답변 수: 2 | 0

2

답변

질문


insert an array according to the values from another variable
From the following example: time = [733774,733774,733775,733775,733775,733776,733776]; bthD = [20,10,0,15,10,20,10]; ...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


find values from a matrix according to a criterion
I have a time series of measurements as follows: time = [733774,733774,733775,733775,733775,733776,733776]; data = [1,1....

11년 초과 전 | 답변 수: 2 | 0

2

답변

질문


plotting data from two years with day of year replacing julian date
I have the following code for producing a plot of data that extends two years in terms of day of year: time = datenum('2008...

11년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Method for aligning tick labels
Is there a method of aligning tick labels? I have a figure that has two y axis where the values vary greatly. I would like to al...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


different limits for 2 yaxis
I'm generating a plot with 2 yaxis showing two datasets with larger differences in their values, e.g. data1 = 100 + (200-10...

11년 초과 전 | 답변 수: 2 | 0

2

답변

질문


white contour on top of grayscale image
Is there a method for changing the colorscale of your figure to grayscale without using the colormap('gray') option. I have an i...

11년 초과 전 | 답변 수: 2 | 0

2

답변

질문


on the use of the accumarray function
Could someone please explain to me how the accumarray function works. For example: val = 101:105; subs = [1; 2; 4; 2; 4]...

11년 초과 전 | 답변 수: 2 | 2

2

답변

더 보기