Question

Splitting 1 column array

Hi all, I have various column matrices with varying number of elements from 38-202. I want to split each matrix into 5 small ...

7 years ago | 2 answers | 0

Question

How to check if data is normally distributed

Hi all, I want to run a f-test on two samples to see if their variances are independent. Wikipedia says that the f test is se...

7 years ago | 3 answers | 1

Question

Delete row from Matrix

I have a Matrix of 400 rows and 40 columns. I want to completely remove rows 3 and 9 to get a matrix with 398 rows. How can I do...

7 years ago | 7 answers | 4

Question

Rotation of a set of points onto the X axis

Hi Guys, I know this is a simple problem but I am just not to able to figure out how to do it. I dont know if the code I have...

8 years ago | 1 answer | 0

Question

how to display all non NaN values in a matrix

Hi, I have an array that looks like A= [NaN 1 3 NaN NaN 5 NaN NaN 6]; what function should I run to make it look like ...

8 years ago | 1 answer | 0

Question

Two exponential curve fitting

Hi all, I want to fit my data to a particular type of equation and get the values of the constant. The function is of the fol...

8 years ago | 1 answer | 0

Question

Truncate matrix elements to a particular length

Ok. I am revising my previous question. I have two matrices that have the X and Y coordinates of a trajectory. X= [ 0 1.1 ...

8 years ago | 1 answer | 0

Question

Arrange matrix in a ascending order

Hi Guys, If I have a matrix say of the following form X = 42.5123 42.3975 42.2375 42.1167 42.1354 41.8895 ...

8 years ago | 1 answer | 0

Question

Problem with a statement in code.

Hi Guys, This should be working fine but it just isnt. Please help me. I have been using the code from this question http://...

8 years ago | 1 answer | 0

Question

Finding and removing NaN values in a matrix

Hi Guys, I am dealing with matrices of the size 1268*100. I wish to eliminate certain rows from this matrix. I do certain ope...

8 years ago | 1 answer | 0

Question

Matlab shuts down when I run program

Hey Guys, Since yesterday I have been trying to run a code in MATLAB. However MATLAB shuts down by itself when I do so. I have ...

8 years ago | 1 answer | 0

Question

Changing colors in an image

Hi Guys, I have a 1024*1024*3 size .tif picture. The main colors in it are white, black and green. I want to reverse the colo...

8 years ago | 5 answers | 0

Question

Plotting centroid values

Hey Guys, I find the centroid values in an image using the regionprops command. I am able to plot the centroids on the image ...

8 years ago | 1 answer | 0

Question

Convert zeros to NAN

I have a matrix (N rows and M columns). It consists of integer values. I want to convert all the zero values from rows 1:N and c...

8 years ago | 1 answer | 0