Community Profile

# James

### Naval Surface Warfare Ctr

Last seen: 21 días ago Active since 2012

I was born. I'm currently living. Someday, I'll die.

All

View badges

#### Content Feed

View by

Question

Operations on variables with specific naming patterns
I am reading in a large number of text files. The files contain numerical values that I want, and text that I do not. Using th...

más de 4 años ago | 1 answer | 0

### 1

answer

Question

Number of leading zeroes as a variable
I know that to print out a number with a certain amount of leading zeroes, you are supposed to use %0X, where X is the number of...

más de 5 años ago | 2 answers | 0

### 2

answers

Answered
reshape 4D matrix into 2D matrix
Does this do what you're looking for? reshape(squeeze(x(:,1,:,:)),25,30) where x is your 5x5x5x30 matrix?

más de 5 años ago | 0

Question

Copying Profile results into Word/Excel
I recently spent a full day running a large amount of simulations of a code through the MATLAB Profiler to see where things need...

más de 5 años ago | 1 answer | 0

### 1

answer

Question

Issue with Cody Challenge Badges?
Apologies for putting this question here, but I'm not sure there's a specific forum for Cody-related questions. I recently no...

más de 6 años ago | 0 answers | 0

### 0

answers

Question

Getting rid of lots of thin black lines on an image
I have several greyscale avi files. The camera that took these movies (or perhaps the software that transformed them into avi f...

más de 9 años ago | 2 answers | 1

### 2

answers

Question

Quickest way to get points in a matrix given two 1-D arrays?
Let's say that A is an NxN matrix, and B and C are 1-D arrays of the same size, containing numbers between 1 and N. Is there ...

casi 10 años ago | 2 answers | 0

### 2

answers

Question

Using find command on each term in a vector
I have two vectors that I am trying to use in my calculation. One is a list of coordinates. A=-10:10 The other is a list ...

casi 10 años ago | 3 answers | 0

answers