photo

Joshua


Active since 2013

Followers: 0   Following: 0

Message

Statistics

  • First Review
  • Thankful Level 3

View badges

Feeds

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:...

10 years ago | 1 answer | 0

1

answer

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...

10 years ago | 1 answer | 1

1

answer

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 ...

10 years ago | 4 answers | 0

4

answers

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...

10 years ago | 2 answers | 1

2

answers

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 ...

11 years ago | 2 answers | 0

2

answers

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 ...

11 years ago | 1 answer | 0

1

answer

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...

11 years ago | 4 answers | 1

4

answers

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,...

11 years ago | 1 answer | 0

1

answer

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/...

11 years ago | 1 answer | 0

1

answer

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...

11 years ago | 1 answer | 0

1

answer

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...

11 years ago | 0 answers | 0

0

answers

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...

11 years ago | 0 answers | 0

0

answers

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...

11 years ago | 1 answer | 0

1

answer

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 ...

11 years ago | 1 answer | 0

1

answer

Question


How to rearrange the rows of a matrix so the column values loop
I have a matrix rec = [ 0 0 0 0.4 0.2 0 1.0 0.4 1.0 0.9 ] I want it rearranged so that it appears like s...

11 years ago | 2 answers | 1

2

answers