Réponse apportée
Copy and paste all lines from the first text file to another text file after certain line numbers
hello try this simply split and concatenate the strings then save the result for me with writematrix as I run R2020, wit...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
Change the position of a pie chart
hello try this X = [0.1 0.2 0.2]; subplot(1,2,1), pie(X); subplot(1,2,2), pie(X); set(gca, 'CameraViewAngleMode', '...

environ 3 ans il y a | 0

Réponse apportée
How to shift a fitted curve such that it would coincide on some point
hello I simplified your code as I don't have the CFT but the principle is simple by simply applying a x and y shiift on you x...

environ 3 ans il y a | 0

Réponse apportée
Splitting integers and floating values from a string in MATLAB
hello try this Str = readlines('ex.txt'); ind1 = find(contains(Str,'TABLE: "movements"')); ind2 = find(contains(Str,'EN...

environ 3 ans il y a | 0

Réponse apportée
Error sending data to .xlsx (NetCDF)
hello Augusto just correct this line in your function "get_and_save_ncf_data.m": those nc files are daily data (time incremen...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
Plotting contour plots of R0 against two parameters
hello try this now beta and zeta must be vectors so that R_0 is a matrix (2D array) use contourf for the plot I let you c...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
Using the quiver3 function I get multiple not correct vectors. I want to plot a 3D vector stating from x=0, y=0, z=0 to x=4756/1121, y=4767/1121, z=0
Simply this : x=0; y=0; z=0; u = 4767/1121; v = 4767/1121; w = 0; quiver3(x,y,z,u,v,w);

environ 3 ans il y a | 0

Réponse apportée
how to use audioOut ofter manipulation
hello ty this : clc clearvars %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % load signal %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% [...

environ 3 ans il y a | 0

Réponse apportée
how to plot .mat file in time in xaxis and amplitude in y axis
hello this is my "every day" code for signal analysis (vibrations and noise) use it at your own convenience NB : you didn't m...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
how to add loop in this so that I can plot for 100 times and I will combine all in one plot.
hello simply turn your main code into a function a call it 100 times in a for loop clc clearvars close all ti = 0; tf...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
FFt analysis of human voice
hello your code is correct FYI, this one below gives you a deeper insight into the time / frequency content of a non station...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
Reading text file and searching for specific lines
hello again so I tried with the .out file you shared there are 10 blocks of data that correspond to you description (starting...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
How do I create a Weibull fit over an empirical cumulative distribution function (ecdf)?
hello this is the suggestion from the guy who has no toolboxes (almost !) alpha is a_sol in my code beta is b_sol M = 1 ...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
Parsing a text file with multiple data blocks into an indexed structure
hello I give it a try even though I do not consider myself as "real expert" in file parsing...but why not try... so here is i...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
How do I segment with stockwell transfrom (s transform) ?
hello this can be a starter... load signal, bandpass filter, look at spectral content and tune your filter to get best results...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
find the slope of a smooth curve at a point
hello I tried to do the entire process from the raw data to the drawing of the tangent line your amount of data is quite sign...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
is there a way to put the threshold line and count how many times the signal crossed the line?
Sure try this % dummy data n = 250; x = 5*(0:n-1)/n; y = cos(4*(x -0.5)); threshold = 0.2*max(y); % 20% of peak amplit...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
Pulse generation with variable frequency
hello it's a matter of how you implement the idea here one solution the attached model is a fixed step euler simulation ...

environ 3 ans il y a | 0

Réponse apportée
Position error of motor shaft
hello you can make 2 pi complements on the error signal , following that logic if error < -pi then error = error + 2pi ...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
Modified Akima piecewise cubic Hermite interpolation contour plot
hello try this I took the liberty to first smooth the data before doing the interpolation - you can adjust the amount of smo...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
Using my data and current code, how would I create polarhistograms for wave data?
hello well , I am not using polar histograms very often , but it seems to me the function polarhistogram does not allow any k...

plus de 3 ans il y a | 0

Réponse apportée
Calculate values from data to monthly
hello well a simple for loop will do the job your result in now an array of length 12 : Max_conseq load('events.mat') fo...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
ISO 2631 Acceleration filter
hello found this , but as I don't have the ISO standard to double check , use at your own risks %ISO 2631 standard filter %...

plus de 3 ans il y a | 0

Réponse apportée
Create combined polar coordinates function
hello it seems to me there is a straightforward solution to your problem by using this Fex submission : Curve intersections -...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Matlab: select data from many DAT files and put them into one file
hello try this , it will loop in your folder and load all dat files I assumed here readmatrix is the right function to read...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Download all daily data (.nc) directly from the command window
hello Augusto this code will loop over all specified monthes (it determines automatically how many days are in the current mon...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
read specific data from a given row and column from table
hello maybe you need a function to give you start / stop time indexes based on threshold crossing like this clc clearv...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
How do I fit a curve ?
hello a cardioid equation may be the solution but I have serious doubts you can fit a polynomial for this shape as I am lazy...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Plot only the outermost nodes
hello again I think I already answered this in your other post here again attached the new code

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
How to standardize an array so that the maximum value is 1 and minimum is -1 keeping the zero value as zero?
hello this can only be accomplished if you accept that the positive and negative parts of your signal are normalized by a diff...

plus de 3 ans il y a | 0

| A accepté

Charger plus