Community Profile

photo

Mathieu NOE


Hutchinson

Last seen: 3日 前 2015 以来アクティブ

Engineer - mechanices /ekectronics / signal processing Average matlab user for 20 years now. Professional Interests: signal processing, adaptive control, noise and vibration processing

Statistics

  • 12 Month Streak
  • Revival Level 3
  • Guiding Light
  • Thankful Level 1
  • Knowledgeable Level 5
  • First Answer
  • Explorer
  • First Review

バッジを表示

Content Feed

表示方法

回答済み
Same color lines in legend using a for loop
hello why make simple things complicated ? if you have only 4 arrays to plot , you could do directly the plot like this - a...

5日 前 | 0

回答済み
replacing text in a string using indexing
I win the prize ! out = strrep('qqqqqq','qqqqq','qwe') out = 'qweqwe'

5日 前 | 0

回答済み
delete consecutive commas in txt file
hello maybe not the best code but seems to do the job ! filename = 'ca.txt'; a = readlines(filename); [m,~] = size(a); ...

14日 前 | 1

回答済み
Plotting harmonic oscillators for different values of Beta
hello as mentionned by @Chris there was some missing dots in element wise operations . Others minor bugs included wrong time v...

14日 前 | 0

回答済み
Why do I get additional frequencies using standard audiowrite BitsPerSample values?
hello if you export data to wav format , you have to make sure that the amplitude do not exceed +/- 1 otherwise the signal wil...

17日 前 | 0

| 採用済み

回答済み
why my conditional function is not what I expected?
hello this works better :) close all clear all x = -3:0.1:3; y = -3:0.1:3; [X,Y] = meshgrid(x,y); [m,n]=size(X); f=ze...

17日 前 | 1

回答済み
How can I detect a peak signal inside a periodic pulse array and generate the waveform like the figure below?
hello here you are - hope you will sleep better tonight... array_pulse = [0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,0...

18日 前 | 1

| 採用済み

回答済み
How to find unwrapped phase of a cross-spectral at frequencies of 0.1 0.2 0.3 ... 0.9 Hz?
hello minor hint : readmatrix suffices to read numerical txt files ; readtable and conversion from table to array is unnecessa...

19日 前 | 0

| 採用済み

回答済み
Calling a function in function considering a loop
hello here you are. NB I prefered not to use the same "c" variable name both in the function and in the main loop - not that...

21日 前 | 0

回答済み
Plotting the frequency spectrum of square wave generated with an osciloscope
Hello Maria when I saw this line X = fft(x,nfft) ; I thought that your intention was to do fft with averaging multiple chu...

21日 前 | 0

| 採用済み

回答済み
data clipped warning while coding.
hello FYI, wav export will clip data exceeding +/- 1 range so you have to normalize the data (y) before writting to wav for...

21日 前 | 0

回答済み
How to have diferent marker and line styles of one variable from multiple data files?
hello see my little demo t = 0:pi/50:2*pi; MarkerStyle={'o','+','*','x','s','d','v','>'}; Colors=[1 0 0; 1 0 1; 0 1 0;...

23日 前 | 1

| 採用済み

回答済み
How to fix a shift issue after taking hamonic mean?
hello is there a reason why the harmonic averaging is needed here I compared it with a standard smoothing function with gaus...

24日 前 | 0

| 採用済み

回答済み
Periodogram loop for multiple columns
hello we should have freq the same for all 240 columns so we are not obliged to store 240 versions of the same vector on the ...

24日 前 | 1

| 採用済み

回答済み
Combining data columns from many text files into one text file of a specified order
hello try this I created some txt files with names : Point Spectroscopy Data 01.txt to Point Spectroscopy Data 03.txt to tes...

24日 前 | 0

| 採用済み

回答済み
how to generate the no. in increasing order but with decreasing difference between the no.?
hello maybe this : (result : a = 10 20 28 34 38 40) % init a(1) = 10; delta = 10; iter = 5; % main ...

24日 前 | 0

| 採用済み

回答済み
mixing audios according to array value
hello the simplest trick here is to first generate z with the same dimension (length) as x and y use the initial t vector ...

24日 前 | 0

| 採用済み

回答済み
Como fazer gráfico de frequência fft
hello we cannot test your code as you don't provide the mat file (use the paperclip button) otherwise I can suggest you to lo...

26日 前 | 0

回答済み
why the image is not display in the output?
hello Your I array has not much delta between min (99.5) and max value (100), so you need to help imshow autoscale its range t...

27日 前 | 0

回答済み
How do I bin my X and Y data to plot the mean and SD?
hello quick and dirty solution code should work whatever the "zero" position is in the n array hope it helps X=[1 2 2 3 4...

27日 前 | 0

| 採用済み

回答済み
Why is my title not showing when i display my image?
hello because now your image fills all the space, the title is hidden try with a smaller height : imshow(strain_image) s...

27日 前 | 0

回答済み
Arrays have incompatible sizes for this operation.
hello in case the two files have different number of samples, either you truncate the longest one or you padd the shortest one ...

28日 前 | 0

| 採用済み

回答済み
How to read .bnn.lis file (ascii file) for the specific data
hello this is one possibility : lines = readlines('SCINTILLAORS STACK WITH CHAMBER-1_21.txt'); %% main code nn = find(c...

約1ヶ月 前 | 0

| 採用済み

回答済み
Improving fit of data to sum of cosines model
hello some findings that may interest you ... as I don't have the Curve Fitting Toolbox , this work has been done with the p...

約1ヶ月 前 | 1

| 採用済み

回答済み
How do I evaluate the error for a fitted non-linear curve
hello using both experimental and fitted data you can compute R2 this way : function Rsquared = my_Rsquared_coeff(data,data...

約1ヶ月 前 | 0

回答済み
How to calculate average for a multiple of time period
here your are , my friend the frequency is estimated by taking the fft of the velocity signal and getting the dominant peak. b...

約1ヶ月 前 | 0

| 採用済み

回答済み
How can I find where those indesirabe plots are from ?
hello maybe this ? %% Ids(Vds) %% mu=10; Cox=3.9; W=360*(10^(-9)); L=180*(10^(-6)); K=(mu*Cox)*(W/L); Vth=1; vds=0...

約1ヶ月 前 | 0

| 採用済み

回答済み
how to extract coordinates from g code files
hello tried a few things , this is my suggestion for the time being . Not 100% sure it's the best code , maybe someone else wi...

約1ヶ月 前 | 1

回答済み
Impedance calculation using FFT from time, voltage and current battery data
hello should be possible using tfestimate function alternative (older) code : x and y are your time domain data (x = inpu...

約1ヶ月 前 | 0

| 採用済み

回答済み
How can I convert an .xls spreadsheet to FFT format?
hello try this code . It will do averaged FFT (with overlap) and time / frequency spectrogram a few mods need still to be do...

約1ヶ月 前 | 1

| 採用済み

もっと読み込む