回答済み
How do I count the number of times my graph crosses two separate lines?
hello maybe this ? the second plot shows the valid points (Ncounts = 4) % dummy data n = 5000; x = 50*(0:n-1)/n; y = -...

24日 前 | 0

| 採用済み

回答済み
How to combine two data file in one file?
hello try this : IQ_data = [2756.00000000000 - 1252.00000000000i 2681.00000000000 - 992.000000000000i 2540.00000000000 - 6...

24日 前 | 0

| 採用済み

回答済み
Adding specified loop outputs
hello again seems to me you want to sum the first 3 rows so it should be : Sum1=sum(output(1:3,:)); instead of Sum1=su...

24日 前 | 1

| 採用済み

回答済み
How to find Quadratic Equivalent Damping?
hello again with some delay, here now the code modified and extended of course we already had the (equivalent) linear damping...

28日 前 | 0

| 採用済み

回答済み
Problem in finding the correct Chebyshev interpolation line
hello maybe this ? %% Data input x_data = [1830; 1920; 1940; 1975; 2000; 2020]; %x values y_data = [0.089; 3.52; 4.86; 17....

30日 前 | 0

| 採用済み

回答済み
Why does the psd of my filtered signal perfectly overlap my raw signal's one?
hello see code below, the effect of the low pass filter is clearly to be seen on the psd plot now I wonder whatkind of "activ...

約1ヶ月 前 | 1

回答済み
Plotting phase noise vs offset frequency of an optoelectronic oscillator...
hello the main problem is that your data has a very coarse frequency resolution so if I remove the content below 10GHz , rem...

約1ヶ月 前 | 0

回答済み
Need to put symbols on curve
Like that ? %===========================================================% clc close all; clear; workspace; %===========...

約1ヶ月 前 | 0

| 採用済み

回答済み
Shift Filter outputs to align peaks
hello @Chunru sorry but I was a bit skeptical about your solution based on group delay seems to me the "aligned" output signa...

約1ヶ月 前 | 1

| 採用済み

回答済み
Can I smoothen the cdfplot() result?
some more code to look at - I kept only the best solutions , even though there are probably lot of other solutions also I intr...

約1ヶ月 前 | 1

回答済み
How to do optimization coding for minimize peak width ?
hello I simply added a for loop for the del parameter to see how peak amplitude and peak width of the red curve would evolve v...

約1ヶ月 前 | 0

| 採用済み

回答済み
While loop using up to input and fixing input definition
Hello gain, so this is the code with the small changes mentionned above clc clearvars close all fs = 20e3; numFilts = 32;...

約1ヶ月 前 | 1

回答済み
required assistance in fitting
so this is the poor"s man optimization (w/o any toolbox) a brute force approach , let's create a 2 parameter grid and evaluate ...

約1ヶ月 前 | 0

| 採用済み

回答済み
I wanted to combine 100 csv files for plotting in Matlab. All the files have same number of columns and rows. Can anyone help?
maybe this ? here I wanted to do a vertical concatenation - up to you to change that portion of the code also , if processi...

約1ヶ月 前 | 0

回答済み
High Frequency Noise baseline filter
hello again an explosive blast record will have a very wide frequency range , the spectrogram will tell you that the signal e...

約2ヶ月 前 | 0

回答済み
Plot velocity profiles along a slope
hello again so this is a starter , would need further work to define correct range of the ruler according to your data %% cre...

約2ヶ月 前 | 0

回答済み
How to delete every nth column in table?
maybe this ? X = (1:9)'*(1:10:50); % remove only 2nd column t = array2table(X,'VariableNames',{'t' 'x' 'y' 'z' 'r'}) t(...

約2ヶ月 前 | 0

回答済み
How would i change this code so that it plots all of the circular paths and markers all at once instead of one after the other?
simply commenting the inner for loop , and you get this result : (I also reduced the number of theta points by factor 2 ) : th...

約2ヶ月 前 | 0

回答済み
How to automatically identify and fit segments of a force-distance curve in MATLAB?
hello maybe this ? I simply wanted stright lines (polyfit order 1) I suggest x0,y0 and x1,y1 as possible candidates for th...

約2ヶ月 前 | 0

回答済み
Impact location detection from accelerometer data
hello so this would be my suggestion I hope my conclusion is not completely wrong ! At the end it seems I can clearly see ...

約2ヶ月 前 | 0

回答済み
Trouble with using plot because of wrong data type
A numerical simulation (no sym) a0 = 0.529177 * 10^(-10); %Bohr radius r = linspace(0,10*a0,100); R = 2*(1/2*a0)^(3/2)*exp(-r...

約2ヶ月 前 | 1

| 採用済み

回答済み
duration of rain. help
hello this is one way to do it - just plain simple matlab functions . Of course , someone fluent with timetables can do it a...

約2ヶ月 前 | 2

| 採用済み

回答済み
How to plot multiplot with different range of data?
hello maybe this ? I normalized x1 and x2 so both plots would overlay nicely . A=readmatrix("wan_band.dat"); [x1,y1]...

約2ヶ月 前 | 0

回答済み
How to extract desired variables column data from a table?
hello this is one solution NB that the variables names and the names your are using in the selection are not exactly the sam...

約2ヶ月 前 | 0

回答済み
how to average data points in column 3 based on values in columns 1 and 2
hello as your data seemed to lie in a plane , why not make a plane fit and assume from now the data should belong to that plan...

約2ヶ月 前 | 0

| 採用済み

回答済み
3D grouped bar-plots from 3D matrix
hello again based on the comment / link above, this is what I can offer today %generate somme dummy data groups_x = 3; rows...

約2ヶ月 前 | 2

| 採用済み

回答済み
How to convert s2p to Impulse Response?
hello see example below : %% create the FRF complex data Fs = 1e3; Freq = linspace(0,Fs/2,200); % make sure freq vector go...

約2ヶ月 前 | 0

回答済み
How to interpolate empty gridcells in the 3D model?
this is you solution : Inpaint over missing data in 1-D, 2-D, 3-D,... ND arrays - File Exchange - MATLAB Central (mathworks.co...

約2ヶ月 前 | 0

| 採用済み

回答済み
Find a controller for a feedback-loop
hello engineering is a mix of knowledge and art. The art of the engineer is to split a complex problem into smaller , simpler ...

約2ヶ月 前 | 1

回答済み
How to merge the three mat files?
hello a quick and dirty solution, you may have to find a way to generalize to more variables in that may be the case in the fu...

約2ヶ月 前 | 0

| 採用済み

さらに読み込む