Community Profile # James James

Last seen: 8 månader ago Active since 2021

#### Statistics

• #### Content Feed

View by

Question

How can I convert x-axis (cycle or day) to x-axis (frequency) ?
How can I convert x-axis (cycle or day) to x-axis (frequency) ? If it is possible, could you tell me the method??

### 1

Question

I want to draw dotted line arrow by using quiver. What do I have to do?
I want to draw dotted line arrow by using quiver. What do I have to do?

### 1

Question

How can I make arrows in Patches by using these codes?
<Code 1> %version that explicitly performs the inversion instead of just calling %lsqlin %set up some distances for a 1-dim...

### 0

Question

If I want to plot arrow in patch, what codes do I have to use? And is there any method by using quiver and patch together?
If I want to plot arrow in patch, what codes do I have to use? And is there any method by using quiver and patch together?

### 1

Question

If I want to plot arrow in patch, what codes do I have to use? And is there any method by using quiver and patch together?
If I want to plot arrow in patch, what codes do I have to use? And is there any method by using quiver and patch together?

### 1

Question

If I want to plot like this, what codes do I have to use??
I have rainfall data of Seoul and Busan. If I want to plot like this, what codes do I have to use??

### 1

Question

There will be 12 plots and I want to show 12 plots in one picture.
clear all Eqdate=datetime('18Jan23', 'Format', 'yyMMMdd', 'InputFormat', 'yyMMMdd'); files=dir('gps*'); for i=1:length(fi...

### 1

Question

I have total of 40 years = 40*365 days = 14600 days of rainfall datas. What if I want to represent a total of 40 plots per year, not per day unit?
p = textread('Rainfall of Busan (11.5.1981 11.5.2021).txt'); dt = 1; totalL = 14600; plot(p) I have total of 40 years = 40...

### 1

Question

I want to apply moving average filter! could you tell me how can I do that?
p = textread('Rainfall of Busan (11.5.1981 11.5.2021).txt'); dt = 1; totalL = 14611; T = [dt:dt:dt*totalL]; freqs = linspace...

### 2

Question

How can I use lowpass filter while keeping x-axis and y-axis range at log ??
How can I use lowpass filter while keeping x-axis and y-axis range at log ??

### 1

Question

What is this peak's meaning?
This graph is amplitude of Fourier transform of rainfalls (total of 14610 days) in frequency domain. In this case, what is this ...

### 2

Question

How can I plot 'period' by using fft functoin??
How can I plot 'period' by using fft functoin??

### 1

Question

Which filter do I have to use?
I have rainfalls data (11/5/1981 ~ 11/5/2021) for 41 years. If I want to see anual rainfall data (January ~ December) for 41yea...

### 1

Question

When I import this function, there is a error when I run this codes.

### 3

Question

How can I make 1 by length x array of random numbers from -pi to pi ??
How can I make 1 by length x array of random numbers from -pi to pi ??

### 2

Question

How can I create a "Phase Scrambler" function ??
How can I create a "Phase Scrambler" function ??

### 1

Question

Can I ask how can I make randomphase by using code??
Can I ask how can I make randomphase by using code??

### 1

Question

How can I increase the number of Fourier frequencies by adding 500 zeros to the end of the 27-sample-long signal ??
fs = 250; t = 0:1/fs:0.107; L = length(t); x1 = sin(2*pi*50*t)+0.3; fftx1=fft(x1) freqHz = (0:1:length(x1)-1)*fs/L; plot(f...

### 2

Question

I have to increase the number of Fourier frequencies by adding 500 zeros to the end of the 27-sample-long signal.
fs = 250; t = 0:1/fs:0.107; L = length(t); x1 = sin(2*pi*50*t)+0.3; fftx1=fft(x1) freqHz = (0:1:length(x1)-1)*fs/L; plot(f...

### 1

Question

I have to increase the number of Fourier frequencies by adding 500 zeros to the end of the 27-sample-long signal.
fs = 250; t = 0:1/fs:0.107; L = length(t); x1 = sin(2*pi*50*t)+0.3; fftx1=fft(x1) freqHz = (0:1:length(x1)-1)*fs/L; plot(f...

### 1

Question

How can I calculate log10(variable) ??? there is error..
How can I calculate log10(variable) ??? there is error..

### 1

Question

How can I get signal-to-noise ratio (SNR)??
Could you tell me how can I get signal-to-noise ratio (SNR)??

### 1

Question

How can I call half of text by using "textread" ? (1*4096 matrix to 1*2048 matrix)
How can I call half of text by using "textread" ? (1*4096 matrix to 1*2048 matrix)

### 1

Question

I have to use Fourier Transform without frequency range?
I have to use Fourier Transform without frequency range?

### 1

Question

How can I get the difference between successive quantization levels (i.e. the amplitude of the least significant bit)?
How can I get the difference between successive quantization levels (i.e. the amplitude of the least significant bit)? If there...

### 0

Question

How can I split time series in a half?
The time series is consisted of 4096 samples. I want to split it by two of 2048 samples.

### 1

Question

The images after filtering deformation
How has the filtering (low pass filter) affected magnitude and phase?

### 1

Question

How to trim time series?
X = rand(1,128)-0.5; fs = 1000; Ts = 1/fs; Y = lowpass(X,100,fs); plot(Y); Z = conv(X,Y); THE length of Z is 255 I wan...

### 1

Question

How can I make low pass filter of this?
How can I make low pass filter of this? The problem: Generate a time series X of length 128 that is a sequence of 128 random n...