Feeds
提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 1
1
个回答提问
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 前 | 4 个回答 | 0
4
个回答提问
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 前 | 2 个回答 | 1
2
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 4 个回答 | 1
4
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 0 个回答 | 0
0
个回答提问
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 前 | 0 个回答 | 0
0
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 2 个回答 | 1