Réponse apportée
how to import the result into excel file
hello see 2 methods example below : for k=1:10 xlswrite('Result.xlsx',rand(k),k); % option 1 writematrix(rand(k...

plus de 5 ans il y a | 0

Réponse apportée
Extract numeric data from cell
hello A = {'position: [0.5418702363967896, 0.0005752428551204503, -3.834952076431364e-05, 0.0, 0.0, 0.0]'}; A1 = regexp(char(...

plus de 5 ans il y a | 2

| A accepté

Réponse apportée
Signal segmentation error: how to select a specific number of points before and after the ECG signal?
hello Ioana I modified a bit your code , hope it works before=100; after=140; nn = length(qrs_i_raw); % first and last bu...

plus de 5 ans il y a | 1

Réponse apportée
Excel reading all columns with a loop
hello again... based on my previous suggestion, this will do the trick : [filename, pathname] = uigetfile('*.xlsx', 'Bitte D...

plus de 5 ans il y a | 0

Réponse apportée
2D line plot xy with color from z variable
hello my 2 cents suggestion %___Read data___% data = readtable("Classeur1.xlsx"); %___Define variable___% %DAY = data.DAY;...

plus de 5 ans il y a | 0

Réponse apportée
Animated magnitude spectrum (windowed fft)
hello Joshua this is my suggestion / code below. It shows how to update the contents of a plot without (re)creating the entire...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
How do I generate sound with durations and pause in between?
hello this is a demo to generate beeps with pause between % file = 'test.wav' ; f = 500; % f is the fundamental frequenc...

plus de 5 ans il y a | 0

Réponse apportée
Exponential decay, rate constant
hello this is a plain matlab example - i am not using the curve fitting tool here % generate some dummy noisy data x = 0:100...

plus de 5 ans il y a | 0

Réponse apportée
Zero Crossing Rate plotting
hello again this is an improved code - no inner for loop needed clear all; clc; close all; %% Read the input signal [y, fs] ...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
Zero Crossing Rate plotting
hello I am not aware of a function sgn in matlab , I believe this must be sign ? so this is modified and somehow I introduce...

plus de 5 ans il y a | 0

Réponse apportée
FFT Based Order Tracking
hello I was not able to understand the second part of your code If the target was to compute the RPM value vs time , look her...

plus de 5 ans il y a | 0

Réponse apportée
Steady state from data
hello Matthew see below : %Import data load('DCMotor_OL_Data_4.5V_A02.mat') % smoothin a bit the derivative theta_dot...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
How do I extract the firing threshold value from an action potential phase plot?
hello again.... so my second submission for you today ! attached also 2 subfunction for crossing points computation and a be...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
How do I set the threshold value on the action potential on the upward and downward slope to define width?
this is my first attempt to make it fully automatic based on this excellent submission (attached function) : Piecewise linea...

plus de 5 ans il y a | 1

Réponse apportée
Exporting simulation data in Multiple sheets in excel file.
hello see example below : for k=1:10 xlswrite('Result.xlsx',rand(k),k); writematrix(rand(k),'myData.xlsx','Sheet'...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Reading numerical data from text fles with string
hello my suggestion for the second part of your code , assuming you specify the lines to be read : n_lines = [10 11]; % defi...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
How to create siren sound using makesound
hello You have to remember that the output is the sinus of an angle, which is the integral of frequency over time; so when f...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
How to do discontinuous piecewise linear model fitting?
hello I combined : Piecewise linear least square fit - File Exchange - MATLAB Central (mathworks.com) and fminsearch to c...

plus de 5 ans il y a | 0

Réponse apportée
FInding the breakpoint of a frequency spectra and its associated error
hello I combinde this Piecewise linear least square fit - File Exchange - MATLAB Central (mathworks.com) and fminsearch to ...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
How do I find specific values in a .txt file?
hello this code will extract the searched items and stote them in a table (taht you can save to excel if needed) hope it hel...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
Spliing text between characters
hello Ongun I created a small txt file containing these lines (as example) : "640. En selektif etkili antibiyotik...Penisilin...

plus de 5 ans il y a | 0

Réponse apportée
Decrease a size of matrix using interpolation
hello demo with a simple for loop : % dummy data VectorTime = rand(5000,2); buffer = 64; % nb of samples for averaging ...

plus de 5 ans il y a | 0

Réponse apportée
for loop and plotting 3 functions
hello mu suggestion below : for ci = 1:3 % nb of functions to be displayed if ci == 1 x=0:0.1:3; %first rang...

plus de 5 ans il y a | 0

Réponse apportée
Summing columns of table
hello see doc Calculations on Tables - MATLAB & Simulink (mathworks.com) see example for taking mean values : Find the A...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
how to apply filter on .CSV data file
hello I assume you have a code to load the csv from there you have to do signal frequency (fft) analysis and then decide whic...

plus de 5 ans il y a | 0

Réponse apportée
Match numbers with letters
hello this code does the trick : ascii_value = uint32(yourstring); % convert your char / string into corresponding ASCII val...

plus de 5 ans il y a | 2

| A accepté

Réponse apportée
Stuck in demodulation of AM
hello you should use a bandpass filter to remove the DC value of the rectified signal clear all; close all; Fs = 1000; dt...

plus de 5 ans il y a | 1

Réponse apportée
creating a loop to input photos into the code
hello this code example reads all tif files in the current directory the for loop will open each individual file and do a few...

plus de 5 ans il y a | 0

Réponse apportée
remove points in a figure that are close to 0 vertical line
hi as simple as this : X = [0 0.5 0.12 0.54 0.21 0.21 0.12 0.32 37 30 39 50 42]' Y = [134 423 352 212 545 234 184 563 323 12...

plus de 5 ans il y a | 0

Réponse apportée
How to replace specific text in .csv file
hello would this work for you ? strArray = readlines('test.csv'); str = "NAN"; newString = '-9999'; newStr = strrep(strAr...

plus de 5 ans il y a | 0

Charger plus