Beantwortet
SDOF time history analysis
if you need a code to perform some spectral analysis and integration (to get velocity and displacement) you can try this : ...

3 Monate vor | 0

Beantwortet
Correct way to calculate the dominant frequency of time series signal?
hello I was happy at the beginning to share this code , but your signal is so short (in terms of how many cycles are in the wh...

3 Monate vor | 0

Beantwortet
how to plot all zeros on xaxis?
hello this could be one solution, but it's very basic (for the moment) as all x points are displayed with the same spacing , w...

3 Monate vor | 0

| akzeptiert

Beantwortet
How to get the values of x axis only visible at the bottom subplots?
hello maybe this ? (all credits to this answer , adapted to your question : Plot - Remove axis ticks but keep grid lines - MA...

3 Monate vor | 0

Beantwortet
Help with code to fit a BlackBody to data to find temperature
hello seems to me this was a minor issue in the way you code BB, do not use at the same time T as an array and a variable in t...

3 Monate vor | 1

| akzeptiert

Beantwortet
An update about my Code
hello Danny that looks quite similar to another answer of mine : Read values from fvtool graph - MATLAB Answers - MATLAB Cen...

3 Monate vor | 0

Beantwortet
How to use pwm with lqr controller?
hello again I am not sure what it brings here to convert your linear outputs to pwm , but a simple demo below if you want to t...

3 Monate vor | 0

Beantwortet
How can I replicate this plot using the supplied equations?
hello do you mean the last plot ? here a simple code that replicate it : (there is still a bit of work if you want all the...

3 Monate vor | 0

Beantwortet
Enter multiple values for a single variable
hello and welcome back after all this time In my eyes you are not solving an equation you just computing the numerical output ...

3 Monate vor | 0

| akzeptiert

Beantwortet
Data must be a single matrix Y or a list of pairs X,Y
hello maybe this ? I prefer to avoid using i and j as loop indexes as those letters usually are reserved as the iamginary un...

3 Monate vor | 0

Beantwortet
Overfitting of computational model in experimental data
hello fminsearch can be quite sensitive to IC, so even a slightly sub optimal IC value can lead to lack of performance / robus...

3 Monate vor | 0

| akzeptiert

Beantwortet
Read values from fvtool graph
hello I am not sure you can retrieve the data (mag,phase) from fvtool object , but you can use freqz instead now both code b...

3 Monate vor | 0

| akzeptiert

Beantwortet
islocalmax2: problems understanding 'MinProminence'
hello just fyi I tried with this fex submission (and no smoothing ) peaks2 - find peaks in 2D data without additional toolbox...

3 Monate vor | 0

Beantwortet
How to make a curve fill the whole plotspace
hello try this : have log spaced x vector (with power of 10 limits) should do the job (fastest fix) and 500 to 1000 points ...

3 Monate vor | 0

Beantwortet
extract data from a 3D matrix using a window
hello there is one Q array per startInd value so either you use Q in a for loop without indexing (if you can tolerate to overw...

3 Monate vor | 0

Beantwortet
I want to connect the ends of the white contour in the image to form a complete circle, eliminating the gaps.
hello sorry , this is a "no image processing" code - it may or may not correspond to your needs , but it does the job ! hop...

3 Monate vor | 0

Beantwortet
How to keep one signal fixed in dynamic time warping (dtw)?
hello in case that may answer the question this is a home made buffered xcorr approach hope it helps ! clc clearvars s...

3 Monate vor | 0

Beantwortet
Make calculation on line profile (Intensity) through object on image
hello Jason hope you are doing well see my suggestion below hope it helps ! % load data y = readmatrix('LineProfile')...

3 Monate vor | 0

| akzeptiert

Beantwortet
Audio data loading and splitting
hello see example below - adapt to you own needs %% Important Notice : % NB : wav files are not searched inside the main f...

4 Monate vor | 0

Beantwortet
Max velocity on 1/3 octave band from Acceleration-Time data
hello again so I decided to make already some modifications in your code , and test it with synthetic data (at least you know ...

4 Monate vor | 2

| akzeptiert

Beantwortet
How to plot the magnitude and phase of this Fourier Transform frequency response
hello well the code seems to work and the model plot (in red) looks good / in match with your publication maybe the K -ga...

4 Monate vor | 0

| akzeptiert

Beantwortet
How can I accurately get the fringes of this profile.
hello this is a very simple (simplistic ?) approach I used peakseek for faster execution vs findpeaks but you can use your o...

4 Monate vor | 0

| akzeptiert

Beantwortet
How to calculate radiuses of an airfoil from its coordinates?
hello find below a demo code that computes neutral line and curvature / radiuses of airfoil . there is also a code section tha...

4 Monate vor | 1

| akzeptiert

Beantwortet
Scattered 3d data to contourf plot
hello first alternative is : % create somme dummy data N = 20; z = peaks(N); % convert to scatter points z = z(:); x ...

4 Monate vor | 0

Beantwortet
Issues plotting R,theta, T from X,Y,Z data
hello when plotting the X,Y,Z data you get a cylinder or something like a cylinder with elliptical shape I removed the X di...

4 Monate vor | 0

| akzeptiert

Beantwortet
How can I make my scatter plot markers opaque, or semi transparent?
hello again a small demo to see the effect of the scatter function parameter 'MarkerFaceAlpha' on the dots transparency wit...

4 Monate vor | 0

Beantwortet
Plotting Polar Plots using time series data
hello again well, maybe I'm stupid but I coud not yet figure out how to use Perfect Polar Plots without having to spend some ...

5 Monate vor | 1

| akzeptiert

Beantwortet
how to filter data by rate of change?
hello I was thinking that I could use the "baseline" correction approach, then apply a scale factor on the baseline compensat...

5 Monate vor | 0

| akzeptiert

Beantwortet
How would you implement this reverb structure
FYI this is a code that implement 3 reverbs hope it helps infile='DirectGuitar.wav'; outfile='out_reverb.wav'; % read t...

5 Monate vor | 0

Beantwortet
Plot hatched bars with the hatched legends
hello is this the correct result you expect ? two simple corrections (wrong indexes) 1/ to get the correct bars hatched : ...

5 Monate vor | 0

| akzeptiert

Mehr laden