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...
mer än 5 år ago | 1 answer | 0
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...
mer än 6 år ago | 2 answers | 0
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?
mer än 6 år ago | 0
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...
mer än 6 år ago | 1 answer | 0
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...
mer än 7 år ago | 0 answers | 0
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...
mer än 10 år ago | 2 answers | 1
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 ...
nästan 11 år ago | 2 answers | 0
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 ...
nästan 11 år ago | 3 answers | 0