Question

How to get wavenumber plot

I'm trying to plot 1D frequency vs wavenumber plot after performing FFT I did till FFT ,how to include the k= 2pi/lamba into t...

1 month ago | 0 answers | 0

Question

How to get CWT of single sine signal

I would like to show the wave packets tby making CWT of a signal .But the CWT mor1 gives me lot of scalograms.How can this be m...

1 month ago | 0 answers | 0

Question

FFT of single max sided from signal

I'm trying to get frequency of signal.But after applying FFT it doesn't shows 200e3 (which is given) ? Attaching the code and p...

2 months ago | 1 answer | 0

Question

Index value intersection query in matlab

I'm trying to calculate the intersection value of x,y from a matrix. The loop seems correct but the values that I get seems wro...

2 months ago | 1 answer | 0

Question

How to plot magnitude vs length from magnitude vs time plot

I have the magnitude (amplitude) vs time Y.X values obtained. I would like to know how can I plot magnitude vs length of the sp...

2 months ago | 1 answer | 1

Question

Using canny filter to locate varying diameter circles

The filter locates all the other edges but can it be modified only to detect three corner circles as present in the color figure...

3 months ago | 0 answers | 0

Question

How to make Triu in reverse axis for triangular matrices ?

The function triu makes the upper triangular matrix in the shape of L . How shall I reverse it like to make it run in opposite...

5 months ago | 1 answer | 0

Question

Polar plot using polyfit

I'm trying to fit the VALUES to make a polar plot but it seems I couldn't fit one value 1400e2 which the polyfit doesn't take ...

7 months ago | 3 answers | 0

Question

I have 2D plot,how shall I make it look like a 3D like a view from top.

subplot(2,1,1); x = linspace(0,10); y1 = sin(x); plot(x,y1) subplot(2,1,2); y2 = sin(5*x); plot(x,y2) How to to make t...

8 months ago | 1 answer | 0

Question

Plot one row of x with multi rows of Y

I have something like this values 25 is the X and remaing four values after that consitutes Y ..similarly for 50,100 ..250etc.....

8 months ago | 2 answers | 0

Answered

How to understand mean absolute error percentage?

MAPE= mean((abs(ye-Yv))./Yv) Yv=Real values vector ye=Neural Network model's estimated values

How to understand mean absolute error percentage?

MAPE= mean((abs(ye-Yv))./Yv) Yv=Real values vector ye=Neural Network model's estimated values

10 months ago | 0

Question

How to smoothen the signal and make a good envelope

I have a velocity and time data.I would like to smoothen the signal as the hilbert of the signal is very dense ? How to do it ...

1 year ago | 1 answer | 0

Question

How to cut the signal at particular time or tol value ??

I have a signal and respective time ,how shall I cut it at a certain more or less close to tol value/time vector value. How to ...

1 year ago | 1 answer | 0

Answered

How can I select multiple points using the Data Cursor while the 'DisplayStyle' is either 'off' or 'window'?

Use Shift + Data cursor and select the figure made with coords.

How can I select multiple points using the Data Cursor while the 'DisplayStyle' is either 'off' or 'window'?

Use Shift + Data cursor and select the figure made with coords.

1 year ago | 0

Question

How can I set a descend order finding peaks to my graph ?

I have a graph that takes the values from first maximum peak point and plots it.Now,how shall i introduce a threshold or descend...

1 year ago | 1 answer | 0

Question

Dimensions of arrays being concatenated are not consistent.

Here all the variable are of 1X3 except velocity which is 1X2 So,how shall I add even that value in the sheet ? as I get Dim...

1 year ago | 1 answer | 0

Question

To RESHAPE the number of elements must not change.

rows = 450; cols = 450; samples = 1024; samples = size(data2d,2); Data = reshape(data2d,cols,rows,samples); Da...

1 year ago | 1 answer | 0

Question

How to use hanning window to get 5 cyles of sine waves?

load('x.mat') t=0:10*pi; % 5 cyeles sf=200e3; %frequency sinewave = sin(2*pi*sf*x); % gen continuous sine waves w = hanning...

2 years ago | 1 answer | 0

Question

How to add Hann 5 cycles to the sine wave plot?

I would like to know how to add cycle to the sine plots? The below one is a sine plot continuous how to make it short for only ...

2 years ago | 1 answer | 0

Question

How to remove particular value from matrix?

I have 2*104 matrices ,I'm interested to remove all values below a particular value say 2.5E-4 from row 2?

2 years ago | 0 answers | 0

Question

Create a line of particular length and orientation

I found a code which creates line in arbitrary space and e verywhere,I couldn't control it's position as randi is used. Let's s...

2 years ago | 1 answer | 0

Question

I'm trying to find the RMSD of the numbers by taking 1-2,2-3,3-4 in a sequence ,how can i loop as such ??

I'm right now doing as such,how to form a loop by taking in the previous nos? N = [ 55378 55344 55310 55276 55242 55208]; a = ...

2 years ago | 2 answers | 0

Question

Why the increment of plot not working ?

I don;t know where the error is as instead of 6 figures I get 36 figures as its a 2 for loops ,how to combine these 2 varying fo...

2 years ago | 1 answer | 0

Question

second largest peak value

I'm getting the amp of second largest peak as correct but the time is wrong ? How to obtain the second highest value X,Y from t...

2 years ago | 2 answers | 0

Question

Findpeaks loop value not saving separately

I'm using findpeaks and trying to save the AMP values separately.But my loop is saving only the last value even though it runs i...

2 years ago | 1 answer | 0

Question

Value of a variable not changing in the workspace ??

The value of j goes upto 1025 but i stays at 255 itself ,what's the error in this nested loop?? X = load('x.mat'); Y = load('...

2 years ago | 1 answer | 0

Question

How to get FFT coefficient plot

How to obtain FFT for the given amplitude (vs) time plot? Kindly inform me is below code is right ?? as I don'see any FFT pea...

2 years ago | 1 answer | 0

Question

SVD file to normal coordinates

I have a .svd file ,how to get the coordinates and time values from it using matlab.From svd data to coordinates like M(x,y,t) ...

2 years ago | 2 answers | 0

Question

nearest tangent point from Ginput point to line ?

I'm trying to get the nearest by creating a ginput and then ginput point finds the nearest point to the line. x = [0,20] ...

2 years ago | 2 answers | 0

Question

plot ellipses by clicking points?

How to plot ellipses by clicking on the points. I have a 100*100 cm grid and I would like to generate ellipses in it by clicking...

2 years ago | 1 answer | 0