photo

Andrew


Aktiv seit 2011

Followers: 0   Following: 0

Nachricht

Statistik

  • Thankful Level 3
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Reading in a text file containing "end-of-record" ("end-of-row") markers
Hi, I have a text file (test.txt) that is of the following form: 1.1 1.2 1.3 X 2.1 2.2 2.3 X 3.1 3.2 3.3 where X d...

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
I need a guideline to learn MATLAB faster
Try the video tutorials at <http://www.youtube.com/user/RobertTalbertPhD>

mehr als 13 Jahre vor | 0

Frage


Advice on reading an unformatted Fortran binary file into Matlab
Hi, I have used Fortran 90 to generate a huge array of reals (the dimensions are 5001 by 2287), and I have written this array...

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Squeezing a two-dimensional array into a one-dimensional array without using a FOR loop
Hi, I would like to be able to squeeze a two-dimensional array into a one-dimensional array. Basically, I would like to be a...

mehr als 13 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Elegant way to replicate a vector, placing it into each cell in a cell array
Hi, I would like to be able to create a cell array, with each cell containing the same 1 by 3 vector that I specify. For exa...

mehr als 13 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


Converting a numeric array to a cell array containing vectors
Hi, Is there a way to convert a numeric array to a cell array of vectors? For example, suppose I have the following: A=...

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Subtracting two cell arrays, yielding a third cell array
Hi, I have two cell array of vectors; each cell in both cell arrays contains a 1 by 3 vector. For example, A={[20 20 ...

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Connecting points in 3D using plot3
Hi, Suppose I have three points: A=[1 1 1]; B=[2 2 2]; C=[3 3 3]; and suppose that I want to draw black lines c...

mehr als 13 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Recommended way to plot spheres
Hi, I have the x, y, and z coordinates of the oxygen and hydrogen atoms in a water molecule. For example, the coordinates of...

mehr als 13 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


Ignoring header text when using dlmread or similar function
Hi, I have some data files in a format called .xvg. These files come from a program called Gromacs, which runs molecular dyn...

mehr als 13 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Fast method to append or prepend rows of zeros
Hi, I have a 5001 by 762 matrix called posData. I would like to append and prepend, respectively, rows of zeros to posData....

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Extracting parts of a matrix implicitly (without storing the matrix)
Hi, Suppose I have a matrix [1 1 1; 2 2 2; 3 3 3] and suppose that I want to extract its second row. Of course I could do: ...

mehr als 13 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Fast way to delete the last n rows of a matrix
Hi, I would like to be able to delete the last n rows of a matrix. I have found that this can be done in the following way. ...

mehr als 13 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Threading part of a function over each element in a cell array
Hi, I would like to thread part of a function over each element in a cell array. I'm afraid I'm being totally non-descriptiv...

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Mapping a function over each cell in a cell array using arrayfun
Hi, I am trying to "map" a function over each cell in a cell array. For example, suppose that I have a cell array which is f...

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Using AND Operator in “if” statements
Hi, When I type the following code: if size([1 2 3])==size([4 5 6]) &amp; size([4 5 6])==size([7 8 9]) 'yes' else 'no' end MATLA...

mehr als 13 Jahre vor | 2 Antworten | 4

2

Antworten

Frage


Elegant way to extract part of a structure as an array
Hi, I would like to be able to extract part of a structure as an array. For example, suppose I create a simple structure: ...

mehr als 13 Jahre vor | 2 Antworten | 7

2

Antworten

Beantwortet
Mapping a function across an array of structures
Hi, May I ask you a related question? What if I want to map a function across each row in an array. For example, the bu...

mehr als 13 Jahre vor | 0

Beantwortet
Mapping a function across an array of structures
I am sorry, this does not appear to be working. Should I place the selectx function inside my delta function definition? When ...

mehr als 13 Jahre vor | 0

Frage


Mapping a function across an array of structures
Hi, I have created an array of structures for the x, y, and z coordinates of particles at time t. For example, suppose I hav...

mehr als 13 Jahre vor | 3 Antworten | 0

3

Antworten