回答済み
How to make the colorbar/colormap with colors the same as ANSYS in Matlab?
@Lidianne Mapa, [edit: Fix spelling errors in my remarks. No changes to the code.] x=0:.01:6; y=0:.01:2; [X,Y]=meshgrid(x,y);...

3ヶ月 前 | 1

| 採用済み

回答済み
If I have an array and I need to find an element in the array how do I go about it?
@Joseph, states = [1 0 0; 1 1 0; 0 1 0; 0 1 1; 0 0 1; 1 0 1; 1 1 1]; C = [1 1 0]; for i=1:length(states), if states(i,:)==C, ...

3ヶ月 前 | 1

回答済み
Lead Concatenation in ECG Classification Using CWT: Required or Optional?
@Sabrine, I assume you have read this paper, published in 2021: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7831114/ The auth...

3ヶ月 前 | 1

回答済み
Smoothing or special techniques to resolve uncertain peaks are required!!
@한 박, You ask "how can I make this data as smooth as a sin function?". You could fit the data with a sinusoid. Here is an exam...

3ヶ月 前 | 1

回答済み
How to make curve fitting by spline between two Arcs
@sila, If you connect the two curves with a semicircle, then the first derivatives match at the connecting points. However, the...

3ヶ月 前 | 0

回答済み
Random squares/rectangles in a square
@Tony Haines, So you want option B. OK. Ns=5; % number of squares P=zeros(4,2,Ns); % vertex coords ...

3ヶ月 前 | 0

| 採用済み

回答済み
Random squares/rectangles in a square
@Tony Haines, Do you want A. One random square inside the unit square, and you want choose that random square 5 times, and ea...

3ヶ月 前 | 1

回答済み
How to add a sum of frequency band or a specific frequency to the wsst function
@Luccas S., Compute wsst, and plot its magnitude: load mtlb dt = 1/Fs; t = 0:dt:numel(mtlb)*dt-dt; [sst,f] = wsst(mtlb,Fs);...

3ヶ月 前 | 1

| 採用済み

回答済み
Applying a phase shift to a complex signal vector
@Maxime Zelenko. [Edit: In case it is not obvious, x is the original signal, and y is the phase-shifted signal.] Since you are...

3ヶ月 前 | 0

回答済み
Band-pass filter extraction.
@Claudio Iturra, Use a lower low frequency and a higher high frequency when specifying the bandpass filter, and consider using ...

3ヶ月 前 | 0

| 採用済み

回答済み
How to code the equation below?
@Athira T Das, I haven;t looked at the code, but I think the first equation is incorrect. You write which appears to be mis...

3ヶ月 前 | 0

回答済み
Google Earth Trajectory Path
@Aleyna, You need to put the rocket coordinates into a KML file, and make a link to the KML file from goodgle earth. THat is e...

4ヶ月 前 | 0

回答済み
what is the peak amplitude of fft?
@Claudio Gerosa, The peak amplitudes of a signal in the time and frequency domains are different. This is true even when ther...

4ヶ月 前 | 0

回答済み
How the extract EEG data according to different epoch limits?
@Elaine, Are you using EEGLAB? If so, I recommend you post your quesiton to the EEGLAB mailing list - see here. The answer ...

4ヶ月 前 | 0

回答済み
Fourier Series,Spectral Analysys
@Tudor Valentin, [edit: fix spelling errors] Here is an example to assist you. The example below uses fft() to compute the spe...

4ヶ月 前 | 0

回答済み
Make histogram for array of datetimes
@dormant, I am switching my comment to be an answer which is what I had intended. First, let's create an array of 1273 random d...

4ヶ月 前 | 0

回答済み
How to write this function in Matlab having inner product
@SHAHID, This is a standard definition of inner product for continuous functions. The limits of integration, 0 to 1 in your ex...

4ヶ月 前 | 0

回答済み
Population Growth Model Analysis
@Athanasios Paraskevopoulos, I see that you have f = @(tau, N) ar_b * N * (1 - N/Ka) - N / (1 + N); and syms N eqn = ar_b *...

4ヶ月 前 | 0

| 採用済み

回答済み
Where do I get the Data Set of EMG Signals with Standard features
@C PRASAD, Here is a link to one dataset of normal EMGs: https://springernature.figshare.com/articles/dataset/Metadata_record_...

4ヶ月 前 | 0

回答済み
How to compare data series?
@Jake, It is hard to say without having the actual data. If you restrict your analysis to one variable at a time, then you may...

4ヶ月 前 | 1

| 採用済み

回答済み
cross correlation between two time series data
@Sandipan, I looked at the plots you provided. You say "Their temporal variation shows a mixed pattern of correlation and anti...

4ヶ月 前 | 1

回答済み
How to mark step changes of various sizes
@Justin, You may want to differentiate your signal with diff(), and then use findpeaks(). Differentiation amplifies high frequ...

4ヶ月 前 | 0

| 採用済み

回答済み
Platform velocity different than 0 in ECEF coordinates
@Carlos, %% Satellite scenario parameters mission.StartDate = datetime(2023,10,9,7,10,0,TimeZone="America/New_York"); mission...

4ヶ月 前 | 0

回答済み
spectrum(x, log="no",span=5, plot=FALSE) similar command in Matlab.
@Zakia Hossain, The curve fiutting toolbox in Matlab includes the function smooth(). By default, smooth applies a moving averag...

4ヶ月 前 | 0

回答済み
Problem with 3D Meshgrid - Not understanding why some planes are 0 which results in my dx becoming 0
@Elias Larsson, For clarity, consider an example in which dx,dy,dz differ, and in which the number of elements differ for each ...

4ヶ月 前 | 1

| 採用済み

回答済み
how to plot contour for arbitrary shape (not rectangular) in matlab?
@sajad sajad, You can make a MxN grid of points that cover the X-Y extent of your shape, and define the Z values at those poi...

4ヶ月 前 | 0

回答済み
Principal axis + phase and inclination.
@Claudio Iturra, I assume you want to do a best-fit ellipse to the wind data. Here is a link to my notes on how to find the bes...

4ヶ月 前 | 0

質問


copy subplots within same figure
I am copying subplots within a figure, to show the same data with an expaned time base. As you can see from the example below...

4ヶ月 前 | 2 件の回答 | 0

2

回答

質問


plot legend shows wrong linespec
Starting with no open figures, and some data already computed, I made a plot as follows: load('data') % I did not use this com...

5ヶ月 前 | 2 件の回答 | 0

2

回答

さらに読み込む