Question


matlab loop code to save figures
I have the code below. It works fine. Notice the filename. It starts with dr_1e-1. I have other files that go up to dr_1e-9. Is ...

presque 2 ans ago | 1 answer | 0

1

answer

Question


Creating a variable from part of a string
I have a string: x='dr_1e-2_A1_OFF_A2_OFF.txt'; Is there a way to create variables from this string? How can I set ...

presque 2 ans ago | 1 answer | 0

1

answer

Question


creating subplot from function
I have some code, generally looks like this: x='dr_0.01.txt'; foo(x); function y = foo(fname) Do stuff...

presque 2 ans ago | 1 answer | 0

1

answer

Question


Find all values within a given tolerance of 0
I have a matrix, called "difference". "difference" is 139x101. I would like to output the column numbers (i.e. somewhere between...

presque 2 ans ago | 1 answer | 0

1

answer

Question


Plotting a surface with scatter data
I have density which is a 310x1 matrix. I have pressure which is a 310x41 matrix. Each column corresponds to a different temper...

presque 2 ans ago | 1 answer | 0

1

answer

Question


diff vs. gradient
Why does: diffpressure = gradient(pressure)./gradient(density); and diffpressure = diff(pressure)./diff(density...

presque 2 ans ago | 1 answer | 0

1

answer

Question


Differentiate and store results in matrix
I have two matrices. The first matrix is Density and it 311x1. The second matrix is Temperature and it is 311x21. The column in ...

presque 2 ans ago | 1 answer | 0

1

answer

Question


creating new matrix based on column value
I have a data file that is 3 columns (Density, Temp, Pressure) I generate the data using C++ and it loop through all possible...

presque 2 ans ago | 1 answer | 0

1

answer

Question


Matlab loop through 100 files and add line of text (Depending on file number)
Hello, I have 100 files, labeled 1,2,3,4...100 I want to add a line of text to each file depending on the file number. I h...

plus de 5 ans ago | 0 answers | 0

0

answers

Question


MATLAB object only shows on plot if greater than certain value found in matrix
I have code that plots the objects in a 3D scatter graph. Some objects move, so I have a color scale to show which ones move fur...

environ 6 ans ago | 0 answers | 0

0

answers