Statistics
All
Content Feed
質問
Distinguishing between boards based on connection type
Hi all, I have two development boards that I can connect to using Matlab. One uses a USB connection, while the other one an Eth...
5ヶ月 前 | 0 件の回答 | 0
0
回答質問
Inaccurate results when writing xls through writetable
Hello everyone. I am using Matlab R2021b. I write then save .xls files from a table using writetable. After saving, I write aga...
10ヶ月 前 | 1 件の回答 | 0
1
回答回答済み
Find the Averaged periodogram
You need to use Welch’s method for power spectral density estimation. Read the details here, and see the demo below. clc, clear...
Find the Averaged periodogram
You need to use Welch’s method for power spectral density estimation. Read the details here, and see the demo below. clc, clear...
1年以上 前 | 0
回答済み
How can applied FrFT of an ECG signal estimated as discrete fractional Fourier transform based on Eigen decomposition?
To compute the FrFT, you may use this contribution (I haven't tested myself). If you need the computation to be performed based ...
How can applied FrFT of an ECG signal estimated as discrete fractional Fourier transform based on Eigen decomposition?
To compute the FrFT, you may use this contribution (I haven't tested myself). If you need the computation to be performed based ...
1年以上 前 | 0
回答済み
Hello guys, i need help for estimating FAR from this formula can review my code please
Have you noticed that the distributions defined in your codes are not Gaussian? See the demo below mu = 3; sigma = 1; x = mu-...
Hello guys, i need help for estimating FAR from this formula can review my code please
Have you noticed that the distributions defined in your codes are not Gaussian? See the demo below mu = 3; sigma = 1; x = mu-...
1年以上 前 | 0
回答済み
How to do a hankel transform on a matrix in Matlab?
The Hankel transform (HT) of a vector is a vector and of a matrix is, naturally, a matrix. You mentioned that in your applicatio...
How to do a hankel transform on a matrix in Matlab?
The Hankel transform (HT) of a vector is a vector and of a matrix is, naturally, a matrix. You mentioned that in your applicatio...
1年以上 前 | 0
回答済み
Docked figures tabs postion from top to left in code?
f = figure; tg = uitabgroup(f, 'TabLocation', 'right'); tab1 = uitab(tg, 'Title', 'Figure 1'); tab2 = uitab(tg, 'Title', 'Fig...
Docked figures tabs postion from top to left in code?
f = figure; tg = uitabgroup(f, 'TabLocation', 'right'); tab1 = uitab(tg, 'Title', 'Figure 1'); tab2 = uitab(tg, 'Title', 'Fig...
1年以上 前 | 1
| 採用済み
回答済み
what does this Complex values are not supported mean?
tetagrados is a vector of complex numbers. So, first of all, notice that the function plot throws a warning and plots only the r...
what does this Complex values are not supported mean?
tetagrados is a vector of complex numbers. So, first of all, notice that the function plot throws a warning and plots only the r...
1年以上 前 | 0
| 採用済み
回答済み
How do I sort files by part of their filename?
You can use the following to search for files in the current folder that have a specific name format: P = dir('*I=0.5') % P = ...
How do I sort files by part of their filename?
You can use the following to search for files in the current folder that have a specific name format: P = dir('*I=0.5') % P = ...
1年以上 前 | 0
回答済み
Invert a histogram by emphasizing on the valleys
One way to do that probably is by subtracting the rate in each bin from the maximum rate. Below is an example with normal distri...
Invert a histogram by emphasizing on the valleys
One way to do that probably is by subtracting the rate in each bin from the maximum rate. Below is an example with normal distri...
1年以上 前 | 1
| 採用済み
回答済み
How to denoise chirp signal in low SNR condition with NLMS or any other methods?
As I mentioned in my comments to your question, it is recommended that you experiment with some state-of-the-art time-frequency ...
How to denoise chirp signal in low SNR condition with NLMS or any other methods?
As I mentioned in my comments to your question, it is recommended that you experiment with some state-of-the-art time-frequency ...
1年以上 前 | 1
| 採用済み
回答済み
How to find the maximum of peaks ?
Below, I am proposing an implementation of what I understood to be your task. You have to experiment with the findpeaks multiple...
How to find the maximum of peaks ?
Below, I am proposing an implementation of what I understood to be your task. You have to experiment with the findpeaks multiple...
1年以上 前 | 0
| 採用済み
回答済み
Making a matrix of R*C size that takes the values randomly from an array- Y.
i1 = 7; i2 = 8; y = [1 6 1 8 4 5]; randIdx = randi(length(y), 1, i1*i2); data = reshape(y(randIdx), i1, i2)
Making a matrix of R*C size that takes the values randomly from an array- Y.
i1 = 7; i2 = 8; y = [1 6 1 8 4 5]; randIdx = randi(length(y), 1, i1*i2); data = reshape(y(randIdx), i1, i2)
1年以上 前 | 1
回答済み
How can I interpolate rows in an array with a loop?
if A is an array, then Matlab will throw an error, as you are using curly braces for indexing. Below is a demo on how to user ...
How can I interpolate rows in an array with a loop?
if A is an array, then Matlab will throw an error, as you are using curly braces for indexing. Below is a demo on how to user ...
1年以上 前 | 0
回答済み
maxk from subset of array
clc, clear v = [10,22,3,-5,8,6,100,30,12,9]; subIdx = [1,3,5,8]; k = 2; % sort values and get corresponding indices [v...
maxk from subset of array
clc, clear v = [10,22,3,-5,8,6,100,30,12,9]; subIdx = [1,3,5,8]; k = 2; % sort values and get corresponding indices [v...
1年以上 前 | 0
| 採用済み
回答済み
How to remove empty line from struct?
D.f1 = [1 2 3 4 5]; D.f2 = []; % structure with 2 fields D % get fields fields = fieldnames(D) % remove empty fields...
How to remove empty line from struct?
D.f1 = [1 2 3 4 5]; D.f2 = []; % structure with 2 fields D % get fields fields = fieldnames(D) % remove empty fields...
1年以上 前 | 0
回答済み
Count the number of times a word appears?
A = {'fishX', 'fishY', 'fishZ', 'fishX', 'fishX'}'; B = [3 3 2 2 2]'; T = table(A, B); groupsummary(T, "A", 'sum')
Count the number of times a word appears?
A = {'fishX', 'fishY', 'fishZ', 'fishX', 'fishX'}'; B = [3 3 2 2 2]'; T = table(A, B); groupsummary(T, "A", 'sum')
1年以上 前 | 1
回答済み
how to recognize if an element of a cell array is a char vector
c = {'name', 'John Smith'; 'age', 32; 'children', cell(1,2)} cellfun(@ischar, c)
how to recognize if an element of a cell array is a char vector
c = {'name', 'John Smith'; 'age', 32; 'children', cell(1,2)} cellfun(@ischar, c)
1年以上 前 | 0
| 採用済み
回答済み
Creating a mesh in a 3-d plot.
clc, clear, close all opts = detectImportOptions('Data1.xlsx'); opts1 = detectImportOptions('Data2.xlsx'); % Load data ...
Creating a mesh in a 3-d plot.
clc, clear, close all opts = detectImportOptions('Data1.xlsx'); opts1 = detectImportOptions('Data2.xlsx'); % Load data ...
1年以上 前 | 0
| 採用済み
回答済み
Linear interpolation two array with target value in one array
Try this clc, clear A = [483, 427, 306, 195]; B = [0, 0.25, 0.5, 0.75]; % assume that these are your target values targ...
Linear interpolation two array with target value in one array
Try this clc, clear A = [483, 427, 306, 195]; B = [0, 0.25, 0.5, 0.75]; % assume that these are your target values targ...
1年以上 前 | 0
回答済み
I need help with converting hourly data to daily summation inside a cell
Note that the data type in the column date is char, not datetime. Try the following: clc, clear load('example.mat'); data...
I need help with converting hourly data to daily summation inside a cell
Note that the data type in the column date is char, not datetime. Try the following: clc, clear load('example.mat'); data...
1年以上 前 | 1
| 採用済み
回答済み
Struggling to create STFT form FFT
There are several open-source Matlab-based time-frequency toolboxes, which all provide implementations of the STFT. Check some o...
Struggling to create STFT form FFT
There are several open-source Matlab-based time-frequency toolboxes, which all provide implementations of the STFT. Check some o...
1年以上 前 | 0
| 採用済み
回答済み
Please help: ' Dimensions of arrays being concatenated are not consistent'
clc, clear d = load('Data.mat'); idx_lheel_start = find(strcmp(d.data_raw2(:, 2), '"Left Heel"')); idx_lheel_end = find(s...
Please help: ' Dimensions of arrays being concatenated are not consistent'
clc, clear d = load('Data.mat'); idx_lheel_start = find(strcmp(d.data_raw2(:, 2), '"Left Heel"')); idx_lheel_end = find(s...
1年以上 前 | 0
| 採用済み
回答済み
Finding Impulse response of LTI system when input signal and output are given.
Below is a code that estimates the impulse response with 3 equivalent approaches: clc, clear inpSig = [1 1 1]; outSig = [...
Finding Impulse response of LTI system when input signal and output are given.
Below is a code that estimates the impulse response with 3 equivalent approaches: clc, clear inpSig = [1 1 1]; outSig = [...
1年以上 前 | 2
回答済み
How to add a new array in the structure?
clc, clear vehicle.genset_model.drag = [4; 5; 6; 7; 8; 9; 10]; % save structure array in 'data.mat' save('data.mat', 'veh...
How to add a new array in the structure?
clc, clear vehicle.genset_model.drag = [4; 5; 6; 7; 8; 9; 10]; % save structure array in 'data.mat' save('data.mat', 'veh...
1年以上 前 | 0
| 採用済み
回答済み
Time resolution of Spectral Entropy - How could I modify it?
You need to provide the spectrogram to the Matlab function, and this spectrogram should have your desired time resolution. See ...
Time resolution of Spectral Entropy - How could I modify it?
You need to provide the spectrogram to the Matlab function, and this spectrogram should have your desired time resolution. See ...
1年以上 前 | 1
| 採用済み
回答済み
FFT of quantized signal
There are some issues with your code. See my modifications and comments below. You cannot calculate SNR, because you did not add...
FFT of quantized signal
There are some issues with your code. See my modifications and comments below. You cannot calculate SNR, because you did not add...
1年以上 前 | 0
回答済み
Comparing Audio Impulse Responses
More generally, I believe you're looking for a quantitative measure of similarity between functions. This is a large domain of r...
Comparing Audio Impulse Responses
More generally, I believe you're looking for a quantitative measure of similarity between functions. This is a large domain of r...
1年以上 前 | 0
回答済み
How to tell/check existing categories in tall tables
Yes, there is a way. Use findgroups.
How to tell/check existing categories in tall tables
Yes, there is a way. Use findgroups.
1年以上 前 | 0
| 採用済み