Statistiques
RANG
39
of 292 807
RÉPUTATION
4 946
CONTRIBUTIONS
1 Question
1 817 Réponses
ACCEPTATION DE VOS RÉPONSES
100.0%
VOTES REÇUS
453
RANG
17 489 of 19 941
RÉPUTATION
2
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
1 Fichier
TÉLÉCHARGEMENTS
2
ALL TIME TÉLÉCHARGEMENTS
18
RANG
of 147 979
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Is there a way to crop an array depending on the values that I want through a function as the values change?
hello try this : a = [0 0 0 0 1 1 1 1 1 0 0 0 1 0 0 0 0 1 1 1 1 1 0 1 1 1 1]; ind = logical(a); [begin,ends] = find_st...
7 jours il y a | 0
| A accepté
Slicing arrays and save it in the file
hello with your input data in attachment, try this code : % load data data = readmatrix('data.txt'); % or readtable if yo...
15 jours il y a | 1
| A accepté
Script has no errors, but no plot is given
again... let's fix it I cannot check here if e^(r(i)^2) (probably wrong) must be replaced by exp(r(i)^2) - I let you double ...
16 jours il y a | 0
Use of eig(A) for eigenvectors
hello let's fix it 1/ had to remove the trailing end - there's simply no reason to have an "end" at the end of your code - p...
16 jours il y a | 0
| A accepté
The blank before var >0.5 cause error in R2016a
I don't think it has to do with a specific release I have the same result with R2020a now either you put no space or at least...
18 jours il y a | 1
Remove harmonics background noise
I have some doubts we can recover a clean sinewave from that ... nevertheless I tried a few things ... first I decimated the sig...
18 jours il y a | 0
| A accepté
Hi I have Csv file for voltage and time data and I would like to compute spectrogram to to compute harmonics at different frequencies but my spectrogram looks so much noisy or
hello you may play with the colormap and also with the displayed dB range to focus on your signal tones and not the background...
19 jours il y a | 0
| A accepté
Plotting path of rods on a circular disk along a surface to deduce rack gear profile.
ok, I had some fun today with your exercise ... time to grind a bit the sharp edges though ! % a disk fitted with 4 rods d = ...
21 jours il y a | 1
| A accepté
Plotting while skipping the middle point in a vector
hello if you can avoid update the plot inside the for loop here I store your data in xx and yy arrays and after the for loop...
24 jours il y a | 1
Rows interpolation in a matrix
hello you can use fillmissing for this task data = readmatrix("data.txt"); data(abs(data)<eps) = NaN; data_out = fillmiss...
24 jours il y a | 2
How to call a own function in other mfile?
hello you simply need to have your function(s) located at the end of your script (mfile) % example code %% main code x =...
24 jours il y a | 0
| A accepté
How do I reorder a regression plot in the desired sequence?
hello again you could do that NB that the cos^2 is not what I used A simple sin (or cos if you prefer works better - your ...
24 jours il y a | 0
| A accepté
How to merge and smooth multiple curves in a plot, if there are discrete points?
hello tried afew options, probably here my best result in the very limited time I have now : this is a demo on the first two...
25 jours il y a | 0
| A accepté
Plot 3D surface within nonlinear bounds
hello this is a job for inpolygon Points located inside or on edge of polygonal region - MATLAB inpolygon - MathWorks France...
30 jours il y a | 1
calulate the indicated mean pressure with a p-v diagramm
hello Julian yes you can use polyarea, I believe you could also with trapz like in my example below (it uses this Fex submissi...
environ un mois il y a | 0
| A accepté
I have a function that adds a legend I want to make the legend group certain plots together yet so that instead of a legend with 14 entries there is a legend with 5 entries
this is a simple solution, where the files are processed in the order that you wished (cf list = [1 3 5 2 4 6 7 9 11 8 10 12 13 ...
environ un mois il y a | 0
Obtain Transfer Function for Bode Plot data from PLECS Software
hello If you have the signal processing toolbox, you can use invfreqs or invfreqz to identify a transfer function here I use...
environ un mois il y a | 0
Phase retrieval of a periodic signal, not working well
here a better solution without the need for fft you should not use the first peak in your code , as it does not correspond to ...
environ un mois il y a | 0
| A accepté
StartPoint on Curve Fitting Toolbox
hello here a very simple code with a 2 steps approach - a relatively accurate initial guess of Aand Q, then refined with fmin...
environ un mois il y a | 1
| A accepté
FFT plotting trouble: Concatenated inputs
hello when you do modal analysis / FRF measurements with a hammer , you should split the record into individual hit input and ...
environ 2 mois il y a | 0
| A accepté
interpolation of a sinusoidal tunnel data
hello again so I looked a bit some of your data , and my first question would be , why not first plot your (scattered) data wit...
environ 2 mois il y a | 0
Frequency response of a system operating at a fixed frequency
hello we could use the general fft approach , but you could also use the stepped sine identification method. We only need to g...
environ 2 mois il y a | 1
| A accepté
create a 3D smoothing with csaps (or similar)
hello again ! as your post title is about smoothing, this is what I propose , based on the fex submission : smoothn - File E...
environ 2 mois il y a | 0
| A accepté
3D plot matrices
hello maybe this ? M100 = [19.8 29.305 38.425 48.37; 4.9 7.4 10.0 13.65]; M300 = [19.35 31.25 40.05 50.55; 7.6 12.65 16.65 ...
environ 2 mois il y a | 0
| A accepté
Calculating Surface Curvature from Image Data
hello I think this is because your K array contains some high amplitude spikes that avoid you see the smaller amplitude signal...
environ 2 mois il y a | 1
| A accepté
How to Generate Smooth Transitional Trapezoidal Signal in Simulink
hello whatever code you use to create the trapezoidal wave , you can simply then smooth it out, for example with smoothdata t...
environ 2 mois il y a | 1
| A accepté
Pulstran function to generate biphasic pulses
hello have to admit I almost never used pulstran yet , so I simply prefer to come back to a very simple solution with repmat i...
environ 2 mois il y a | 0
How to plot isosurfaces using 3 vector columns of data?
maybe this ? pretty much what you could obtain with contour (in principe ,but I am not sure how to make contour work on your d...
environ 2 mois il y a | 1
| A accepté
Complex value computed by model function, fitting cannot continue. Try using or tightening upper and lower bounds on coefficients.
hello a very basic code using only fminsearch (no toolbox required ) I preferred to smooth a bit your data (otherwise it loo...
environ 2 mois il y a | 0
create a 3D average curve from two 3D curves
hello Alberto and welcome back we need to sort and remove duplictes in your data before creating a common z vector, then inter...
environ 2 mois il y a | 0
| A accepté