**Statistics**

RANK**345**

of 242 716

REPUTATION**182**

CONTRIBUTIONS

**5** Questions

**80** Answers

ANSWER ACCEPTANCE **
100.0%
**

VOTES RECEIVED**10**

RANK**14 663** of 16 978

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

**Content Feed**

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

25 dagar ago | 0

| accepted

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

25 dagar ago | 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...

28 dagar ago | 1

| accepted

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

29 dagar ago | 1

| accepted

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

30 dagar ago | 0

| accepted

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)

ungefär en månad ago | 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 ...

ungefär en månad ago | 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...

ungefär en månad ago | 0

| accepted

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

ungefär en månad ago | 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')

ungefär en månad ago | 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)

ungefär en månad ago | 0

| accepted

Creating a mesh in a 3-d plot.

clc, clear, close all opts = detectImportOptions('Data1.xlsx'); opts1 = detectImportOptions('Data2.xlsx'); % Load data ...

ungefär en månad ago | 0

| accepted

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

ungefär en månad ago | 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...

ungefär en månad ago | 1

| accepted

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

ungefär en månad ago | 0

| accepted

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

ungefär en månad ago | 0

| accepted

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

ungefär en månad ago | 1

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

ungefär en månad ago | 0

create all logic permutation array

d = (1:2.^3-1)'; b = de2bi(d); b

ungefär en månad ago | 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 ...

ungefär en månad ago | 1

| accepted

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

ungefär en månad ago | 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...

ungefär en månad ago | 0

How to tell/check existing categories in tall tables

Yes, there is a way. Use findgroups.

ungefär en månad ago | 0

| accepted

Replace NaN with median per column

clc, clear x1 = randn(5, 5); x1(randi(numel(x1), 1, 5)) = nan; x2 = fillmissing(x1, 'movmedian', size(x1,1)*2, 1); display...

ungefär en månad ago | 1

x(t) = A sin(w0t + Ø) exp(-at)

clc, clear % sampling frequency fs = 1; % sampling period Ts = 1/fs; % sinusoidal frequency f0 = 0.01*fs; % Hz w0 =...

ungefär en månad ago | 0

Insert new row with values in a table before specific values

WP1 = [0 145 169 1693 1708 2729 0 48]; WP2 = [145 169 1693 1708 2729 2779 48 1382]; WC = [0 1 1 1 1 0 0 1]; dat = [WP1', WP...

ungefär en månad ago | 0

| accepted

How to split table cell into two columns based on data type?

Below is an example with toy data showing what you need to do. clc, clear, T1 = [1;2]; T2 = {'Y12'; 'Y2'}; T3 = {'H12'; 'H0'}...

ungefär en månad ago | 0

| accepted

How to generate a periodic customized waveform?

This simple function can compute the signal you need. Use lambda to control the decay and see the other parameters. function x...

ungefär en månad ago | 0

| accepted

How to plot ifft for a frequency signal?

clc, close all fs = 32768; fidx = z.Date23122013; specOneSide = z.Time100351; [fidx, idx] = unique(fidx); specOneSide =...

ungefär en månad ago | 0

| accepted

Creating a modified audiofile

clc, clear % load data load handel.mat filename = 'handel.wav'; audiowrite(filename, y, Fs); % save only 2 second of au...

ungefär 2 månader ago | 0

| accepted