Question

Optional Function input arguments

I am writing a function and basically it does a set of command on the inputted matrices, How can i specify that the user can ent...

mehr als ein Jahr ago | 1 answer | 0

Question

Compress down a 1000x1000 matrix into a 100x100 matrix

I have a 1000x1000 matrix that contains various values. I would like to compress it down into a 100 by 100 matrix by averaging e...

mehr als ein Jahr ago | 3 answers | 0

Question

Finding the t values of the Student's t test (t1-α,ν)

I have both 1-α and i have v and i was wondering if there is a way to get the t-value directly in Matlab rather than reffering t...

mehr als ein Jahr ago | 2 answers | 0

Question

Obtaining the variance-covariance matrix

i wanted to ask if by doing the result will be equal to E as in the equation shown

mehr als ein Jahr ago | 1 answer | 0

Question

Obtaining the Uni-variate 95% confidence intervals

I have Matrix A [1000,1] of variable A readings at 1000 locations, I also have Matrix B [1000,1] of variable B readings at the s...

mehr als ein Jahr ago | 0 answers | 0

Question

Obtaining the Bonferroni 95% confidence interval between two variables

I have Matrix A [1000,1] of variable A readings at 1000 locations, I also have Matrix B [1000,1] of variable B readings at the s...

mehr als ein Jahr ago | 1 answer | 0

Question

Obtaining the Partial Correlation Coefficient

I have Matrix A [1000,1] of variable A readings at 1000 locations, I also have Matrix B [1000,1] of variable B readings at the s...

mehr als ein Jahr ago | 0 answers | 0

Question

Calculating the Regression Coefficient

I have two column matrices that contain data and i wanted to caculate the regression coefficient between the two matrices

mehr als ein Jahr ago | 1 answer | 0

Question

only accept odd numbered input arguments

I am writing a function and I would like it to only run if the input argument is odd, is there an easy to specifcy that the inpu...

mehr als ein Jahr ago | 1 answer | 0

Question

Average of the nine surrounding cells

I have two matrices, matrix1 contains genuine data and matrix2 is filled with 0's and a few 1's, i wanted to know if there is a ...

mehr als ein Jahr ago | 1 answer | 0

Question

lat long radius to XYZ

i have the following matrix that contains latitude, longitude and radius of a planet and i would like to convert to xyz and plot...

mehr als 2 Jahre ago | 1 answer | 0

Question

Clearly distinguishing different regions

i have the following map which shows different regions with relatevely close values and so the regions are very similarly colour...

mehr als 2 Jahre ago | 0 answers | 0

Question

binning a matrix down

i have 2 different matrices, one thats 3220x6440 and the other is 1440x2880 and i would like to directly compare them and so i n...

mehr als 2 Jahre ago | 1 answer | 0

Question

converting 3 arrays into matrix

i have 3 different arrays x,y and z and i would like to create one matrix M where the M(i,j)=z(i) and i and j in M are the corre...

mehr als 2 Jahre ago | 2 answers | 0

Question

Moving from C drive to D drive

Ive been using Matlab for sometime know and all my files were saved in my documents (C Drive) and now this drive is full and i w...

mehr als 2 Jahre ago | 1 answer | 0

Question

creating an empty cell in an array

i have an array most made up of numbers and some are NaN i would like to make the NaN cells empty because i have a plotting func...

mehr als 2 Jahre ago | 1 answer | 0

Question

adding labels and automatically saving as .jpg

i have the following code that draws a scatter graph of values from 2 different matrices i would like to add x and y labels to t...

mehr als 2 Jahre ago | 1 answer | 0

Question

a very quick question

i wanted to ask if matlab is reading RGB values of pixels from rows and columns. i wanted to ask does it for rows does it go fro...

mehr als 2 Jahre ago | 0 answers | 0

Question

obtain data from a colour scaled map

i have a map that shows magnetic field strength and it uses a color scale so that when the colour is red on the map this means t...

mehr als 2 Jahre ago | 0 answers | 0

Question

RGB map into numerical data

he image below uses an RGB scale (the values of the scale are displayed on the image) to show the magnetic field strength at eac...

mehr als 2 Jahre ago | 1 answer | 0

Question

i have an RGB image and i would like to convert it into numerical data

the image below uses an RGB scale to show the magnetic field strength at each point on the map. I've been struggling to find a w...

mehr als 2 Jahre ago | 1 answer | 0