Community Profile

# Joshua

Active since 2013

#### Content Feed

View by

Question

Efficient way to sum the components of a matrix
I have an array of unknown dimensions. I want to sum the values of this array. I need to do this many times. My current code is:...

mer än 8 år ago | 1 answer | 0

### 1

Question

How to assign parts of one structure to another efficiently?
I have a structure, 'D', which contains 'name'. I would like to assign certain parts of this struct to another struct in an effi...

mer än 8 år ago | 1 answer | 1

### 1

Question

How do I determine the number of headerlines in a text document?
I need to read in data from a text document. The document starts with an unknown number of headerlines (zero up to 20), and the ...

mer än 8 år ago | 4 answers | 0

### 4

Question

Color mismatch between legend and plots
I am plotting 6 data vectors and a legend. The first 4 components of the legend have the correct color (matches the plotted colo...

mer än 8 år ago | 2 answers | 1

### 2

Question

How to calculate the center of mass of a polyhedron?
Hello, I am trying to calculate the center of a convex polyhedron based on its 'mass'. I originally calculated it by simply ...

nästan 9 år ago | 2 answers | 0

### 2

Question

When saving a figure with 'print', not all of the figure is saved
I create a figure of a geometric shape with custom major and minor grid lines, thickened axes lines, and shading. I save using ...

nästan 9 år ago | 1 answer | 0

### 1

Question

How do I save an image at a specific resolution?
My MatLab knowledge is terrible. I have made some figures. I want to save them at a very high resolution as a .tiff. How can I d...

nästan 9 år ago | 4 answers | 1

### 4

Question

How do I get MatLab to draw extended axes?
I have a bunch of shapes I am trying to plot in a very specific way. I want them to appear like the attached image, where the x,...

nästan 9 år ago | 1 answer | 0

### 1

Question

Can Matlab give me an analytic solution for transient Heat diffusion?
I want an analytic solution to the transient Heat Diffusion equation in cylindrical coordinates. My equation is dT/dt = d^2T/...

ungefär 9 år ago | 1 answer | 0

### 1

Question

Accuracy of the Modified Bessel Functions
I will be using the modified bessel functions I and K ( besseli and besselk in the matlab code) and I am concerned about the acc...

ungefär 9 år ago | 1 answer | 0

### 1

Question

contour map and pdf for a 2d dataset
I have a set of data that includes x and y coordinates. The outline of these points create a concave polygon, similar to a figur...

mer än 9 år ago | 0 answers | 0

### 0

Question

How to automate the title of a graph
I need to output several graphs with titles automatically. I want the titles to reflect a series of input data, but I do not kno...

mer än 9 år ago | 0 answers | 0

### 0

Question

Determining if a point is inside a polygon or along the outer edge
I have a 2D polygon in 3 dimensions. Some of the points are inside of this polygon, and some define the outer edge of it. How ca...

mer än 9 år ago | 1 answer | 0

### 1

Question

How do I create an image of a 3d polygon that is always orthogonal to the polygon?
I need to create a series of bitmap images to be analyzed by an external program. Each of these images has a 3d polygon at some ...

mer än 9 år ago | 1 answer | 0