Respondida
How can I plot the frequency content of my sample?
Did you find a solution yet? Here's one. I wasn't sure if you wanted the frequencies identified or just plotted. clear all %C...

casi 5 años hace | 1

Respondida
drawing a fast Fourier transform
Here's a solution X = dlmread('ECG.csv'); Fs = 350*60; % [samples/min] sampling frequency T = 1/Fs; % [s] sampli...

casi 5 años hace | 0

| aceptada

Respondida
Please, help solve the dynamics equation in matlab simulink
There is a solution here on the web: https://www.matlab-monkey.com/ODE/resonance/resonance.html Just set the value of 'A' to 0...

casi 5 años hace | 0

| aceptada

Respondida
finding elements in array
To get the indices to the vk array vk = [0 0.025 0.05 0.075 0.1 0.125 0.15 0.175]; [idx] = find(vk>= 0.05 & vk<= 0.175)...

casi 5 años hace | 0

| aceptada

Respondida
How can I plot each local maxima of my ECG data
Remove the hold off in the outer loop and remove the replotting of the entire dataset in each sement processing step - change...

casi 5 años hace | 0

| aceptada

Respondida
Do anyone code this paper http://link.springer.com/chapter/10.1007/978-3-642-23223-7_13 "A Research on Improved Canny Edge Detection Algorithm " by Jun Li, Sheng Ding
matlab wrapper here: https://github.com/KshanaRules/BajaMap/blob/master/edgedetect.m

casi 5 años hace | 0

Respondida
Euclidian distances between coordinates in pdb file
Solution: % euclid filename = '1UBQ_CA.txt'; CA_CA = readtable(filename); [iatom1,iatom2] = meshgrid(1:76,1:76); distance =...

casi 5 años hace | 1

| aceptada

Respondida
DFT/FFT of an exponential decay -> Lorentzian
Lorentizans are tricky. The long 'wings' confound spectroscopists to model data digitally with speed and accuracy and to reduce...

casi 5 años hace | 0

Respondida
How to separate ECG signal into time sections?
Wow - that is not the algorithm I would chose for this data at all! But here is a solution for implementing that algorithm clc ...

casi 5 años hace | 0

| aceptada

Respondida
how i do plot a point connecting 5 points and how i name the end point and centre point with letters
Here's a solution % your data x = [20 25 30 35 45]; y = [40 15 10 50 30]; x0 = 30; y0 = 30; figure('color','white'); xl...

casi 5 años hace | 1

| aceptada

Respondida
How to plot satellite data?
Here's a solution clc close all clear all filename = 'W_XX-EUMETSAT-Darmstadt,HYPERSPECT+SOUNDING,METOPA+IASI_C_EUMP_20181...

casi 5 años hace | 1

Respondida
Mapping - latitude-longitude / projection of a circle
Here's a simple solution clc close all clear all % select case you want icase = 2; % 1=landat7 width of image, 2=geosynch...

casi 5 años hace | 0

Respondida
How can I initilize the SOM weights by my own vector?
The initial weights for a self-organizing map (SOM) are small standardized random values.

casi 5 años hace | 0

Respondida
Alternating up and down in my script to find path through 'maze'
Here's a solution to finding paths that connect the top of the grid to the bottom using 4-neighbors clc close all clear all ...

casi 5 años hace | 1

| aceptada

Respondida
How to draw a pie chart in a map?
I downloaded the package and then modified the m_ellipse.m program in that package to create a new m_piechart.m that produces th...

casi 5 años hace | 0

| aceptada

Respondida
how to find the sum of rows in an array, that fit a condition?
Isn't it obvious since each row has a value that is greater than 50 that the cross sum of terms in the row will be greater than ...

casi 5 años hace | 0

Respondida
How to find average heart beat using fast Fourier transform function
I'm going to give a solution that says your 3000 data points represent a timeseries of 6 seconds. The code can be modified if t...

casi 5 años hace | 0

| aceptada

Respondida
How to overlay a binary mask over an rgb image?
Here's some code: img = imread('diplo000000-L.png'); mask = imread('sdfsd.png'); mask(:,:,1) = 0; img(mask>0) = 0; image(im...

casi 5 años hace | 1

| aceptada

Respondida
How to get a script to only give me the number of elements less than 2?
Here are random numbers as an example. It plots all the values in blue, finds indices for values less than 2, and plots those va...

casi 5 años hace | 0

Respondida
Plot the orbit of a satellite
Edited 10/28/2021 - Thanks to a bug found by @Frank Epstein in the interpretation of Mdot - this is updated in TLE2OrbitalElemen...

casi 5 años hace | 10

| aceptada

Respondida
About FFT of sin(x) / x , how to plot ?
Hi, I was able to get a plot by removing the discontinuity in the signal. Is this what you were expecting? % show the " y=sin(...

casi 5 años hace | 1

| aceptada

Respondida
Extract daily time series NetCDF to specific location
Here's a solution: clc close all clear all filename = ('precip.2019.nc'); info = ncinfo(filename); % Variable 1 lat = d...

casi 5 años hace | 1

Respondida
How to sort my signal based on the frequency domain? low to high
Here's a suggestion for enhancing the spectogram to pull out signals. More information about the feature signals would be helpf...

casi 5 años hace | 1

| aceptada

Respondida
Extraction NetCDF time series to point
Hi. This is a completely different file format. The data are on a finer spatial grid, but there are only 365 'times'. The tim...

casi 5 años hace | 0

Respondida
How can assign a color for two member of a matrix?
So the new constraints are: change the background color from grayscale to single tone color scale arbitrary set of bubbles to ...

casi 5 años hace | 1

Respondida
source code for cap modulation
There's a download for that here: http://en.pudn.com/Download/item/id/3152000.html

casi 5 años hace | 0

Respondida
Describing my graph in terms of a fourier series.
If I understand your question, it sounds like you want to find the underlying signal frequencies of your data. clear variables ...

casi 5 años hace | 0

Respondida
RE: Extraction of NetCDF to certain point and location
Here's a solution: clc close all clear all % ftp://ftp.cdc.noaa.gov/Datasets/cmap/std/precip.mon.mean.nc filename = ('pre...

casi 5 años hace | 0

Respondida
Extraction NetCDF time series to point
Here's a solution that is workable: clc close all clear all % ftp://ftp.cdc.noaa.gov/Datasets/cmap/std/precip.mon.mean.nc ...

casi 5 años hace | 0

| aceptada

Respondida
Read row of data from excel file and step/iterate through each row when program is looped
Probably not the best way, but it works: irow = 1; Data = xlsread('fakedata.xlsx','Sheet1',['A' num2str(irow) ':B' num2str(iro...

casi 5 años hace | 1

| aceptada

Cargar más