photo

Robert


Flinders University

自 2014 起处于活动状态

Followers: 0   Following: 0

消息

统计学

  • Thankful Level 3

查看徽章

Feeds

排序方式:

提问


Make legend circles/squares instead of lines
I Have the following code, which produces the attached image. What I would like to do is have the lines in the legend as squares...

8 years 前 | 1 个回答 | 0

1

个回答

提问


Problems with legend using imagesc
I have the following code, I have adapted it from another code and I think that is where I am getting stuck. basically I have...

8 years 前 | 1 个回答 | 0

1

个回答

提问


netcdf file won't load
I have 3 netcdf files all from the same source. 2 of them are loading fine using ncload (after running the nc toolbox) but one h...

8 years 前 | 1 个回答 | 0

1

个回答

提问


Finding Annual Amplidute for each of multiple years
I have 12 years of monthly temperature data (144 points). I want to find the annual amplitude, the max value minus the min value...

8 years 前 | 1 个回答 | 0

1

个回答

提问


For loop isn't working, unsure as to why
In the following code, 'forrest', 'shrub', 'sav', 'grass' and 'agri' have all been initialized at 35*43 matrices of NaNs. 'lu...

8 years 前 | 2 个回答 | 0

2

个回答

提问


imagesc make all negatives values black
I have the following code which is part of a subplot series. I want to change it so that all negative values become a certain co...

8 years 前 | 1 个回答 | 0

1

个回答

提问


Imagesc split pixel into 2 different colours?
I am using imagesc to plot a map. There are 8 possible variables that can be included in a pixel, hence the plot is of values 1-...

8 years 前 | 1 个回答 | 0

1

个回答

提问


Match NaN's in one Matrix to another
Consider 2 matrices A = [1, 2, 3, 4; 5, 6, 7, 8] B = [NaN NaN 1 1; NaN 1 1 NaN] How can...

8 years 前 | 1 个回答 | 0

1

个回答

提问


If isnan(x) make columns also NaN
I have a horizontal array or data 1:1505 made of Nans and 1s (inA4) I also have a matrix of data 96:1505 (Approx4) Where e...

9 years 前 | 2 个回答 | 0

2

个回答

提问


Stepwisefit changing yy variable...
I have written a code for a stepwise regression. Usually there would be one yy variable and multiple xx variables. Part of the d...

9 years 前 | 0 个回答 | 0

0

个回答

提问


How can I stack multiple Matrices in 1 2D matrix?
I have a 3D Matrix (96,35,43) I want to change it to (3360,43) so that each 35x43 matrix is below the previous How can I d...

9 years 前 | 1 个回答 | 0

1

个回答

提问


Stepwise fit wont run through loop, can't find a way around the problem.
You will see from my code below That I load some data, then in a for loop a adjust it according to a pre-determined lag and run ...

9 years 前 | 0 个回答 | 0

0

个回答

提问


Fill blank spaces from lagged data with NaN
I have a code which lags one data set in relation to another. The lag is determined based on r^2 values previously figured out. ...

9 years 前 | 1 个回答 | 0

1

个回答

提问


Add a 2D matrix to a 3D matrix in a specific location
Say I have 2 Matrices A = 10x10x10 B = 10x10 I want to ad B to A at a certain dimension e.g. (:,:,6) such that A beco...

9 years 前 | 2 个回答 | 0

2

个回答

提问


Writing outputs from a 3D matrix loop
I have a 3D matrix 35,43,144 I want to run the following code such that it performs the function element by element through t...

9 years 前 | 1 个回答 | 0

1

个回答

提问


Looping through a 3D matrix
I have a 3D matrix 35,43,144 I want to run the following code such that it performs the function element by element through t...

9 years 前 | 1 个回答 | 0

1

个回答

提问


Adding matrices to a 3D matrix in a specific order
Say I have a 3D matrix 50x50x100 Now I want to add another matrix to make it 50x50x101, however I want the new matrix to go i...

9 years 前 | 1 个回答 | 0

1

个回答

提问


How can I make elements in a matrix NAN where they don't match that of another matrix?
suppose I have a matrix A = [1,2,NaN 4,5,6] and B = [12,3,4 4,5,67] I want C = [12,3,NaN ...

9 years 前 | 1 个回答 | 0

1

个回答

提问


dlmwrite with specific titles in loop
I have the following code %96 Matrices are loaded above and grouped as "A1" A1Janstack = cat (3,A11,A113,A125,A137,A14...

9 years 前 | 1 个回答 | 0

1

个回答

提问


Subtracting multiple matrices from the same matrix
I have a 3D matrix (35,43,144) and a 2D matrix (35,43) I need to produce 144 new 35x43 matrices by subtracting the 2D matrix ...

9 years 前 | 1 个回答 | 0

1

个回答

提问


imagesc Make all zeros white and all <zeros grey
I asked a very similar question a few hours ago and was given the answer I was looking for at the time, but I have jsut realized...

9 years 前 | 1 个回答 | 0

1

个回答

提问


imagesc make all zeros white?
I have the following code. The output is a matrix and I want all of the zeros to be displayed as white. How can I do this? ...

9 years 前 | 1 个回答 | 0

1

个回答

提问


Error on line 28 of a 9 line code?
I have 365 text files of data, one for each day of the year. I have this code to create 12 new text files, monthly averages. ...

9 years 前 | 2 个回答 | 0

2

个回答

提问


Running a validation model using Stepwisefit
I have produced the following code. It does 1505 stepwise regression with 8 predictor variables (a regression for every pixel of...

9 years 前 | 1 个回答 | 0

1

个回答

提问


Using 1s and 0s to change data to NaN
Suppose I have 2 arrays A = [1,2,3,4,5,6,7,8] B = [0,1,1,0,1,0,0,1] I only want to keep the numbers that match 1s in ...

9 years 前 | 1 个回答 | 0

1

个回答

提问


index out of bounds because... can't solve error
I am performing a stepwise regression and looping through data, this performs 6 stepwise regressions. I then try to output some...

9 years 前 | 1 个回答 | 0

1

个回答

提问


How can I read all text files in a folder without making a struct?
Using the function x = dir ('*.txt') gives a struct (1x127) I want to read my 127 text files (matrices) in individually, not ...

9 years 前 | 1 个回答 | 0

1

个回答

提问


Splitting a Matrix and saving results
I have a matrix (35x5461). I need to split it into 127 matrices of (35x43) Then each matrix needs to be saved as an ascii wit...

9 years 前 | 1 个回答 | 0

1

个回答

提问


Too many output arguments error in my code
I have the following code, I am trying to get all of the wavelet approximations out (it works fine with details, but not approxi...

9 years 前 | 1 个回答 | 0

1

个回答

提问


Merging Multiple text files
I have 1505 text files, each 96x6. I want to be able to merge them such that file 2 is below file 1, file 3 is below file 2 etc ...

9 years 前 | 3 个回答 | 0

3

个回答

加载更多