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...

3 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('...

3 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...

3 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) ...

3 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] ...

3 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...

3 years ago | 1 answer | 0

Question

How to create marching triangulation or advance front mesh in Matlab ??

I have used delauney triangulation method in a grid (which created ortho trias) I would like to know how to create marching t...

4 years ago | 1 answer | 0

Question

Ellipse in parametric form ?

I'm trying to create an ellipse in parametric form. I have just two Foci along the major axis. So, how shall I get r1, r2 etc. ...

4 years ago | 1 answer | 0

Question

How to say the third selected point lies within the created geometry or not?

close all clc base_x = [0 50 50 20 0 0] base_y = [0 0 10 10 10 0 ] roof_x = [ 0 0 20 20 30 30]...

4 years ago | 1 answer | 0

Question

Determining point is within polygon or outside.

so far I have coded a profile and a user input to plot the points if inside or outside. any improvement to the code is apprecia...

4 years ago | 0 answers | 0

Question

Index in position 2 exceeds array bounds (must not exceed 1) ??

Why does the following function produce the error "Index in position 2 exceeds array bounds (must not exceed 1)"? function test...

4 years ago | 8 answers | 0

Question

How to calculate the Line of sight (LOS) between two points in a Eucleidean appraoch?

-Line of sight? -Sensor placements -10*10 grid _Eucleidean method

4 years ago | 1 answer | 0

Question

change dpi from auto to 300 using matlab code?

Is there any code to change the DPI from auto mode to 300 so that It can be added to the script directly,without manually going ...

4 years ago | 1 answer | 0

Question

How to get the values of graphs interactively in a matlab GUI

I have this code which helps me to get t1,t2 manually and then get delt How to bring in a graph and then select points interact...

4 years ago | 1 answer | 0

Answered

figure, imshow, saveas and getpts

but in this case [x,y] = getpts x = 118.5645 242.4355 y = 199.6316 197.2105 its giving both x1y1 and x...

figure, imshow, saveas and getpts

but in this case [x,y] = getpts x = 118.5645 242.4355 y = 199.6316 197.2105 its giving both x1y1 and x...

4 years ago | 0

Question

Calculating distance between two points interactively by placing the cursor posoitions in a graph

I already have a small function that helps me to get distance between two points by inputting. Is there any way to interactivel...

4 years ago | 0 answers | 0