Tom
Followers: 0 Following: 0
Feeds
提问
Plotting a Graph with Shapes and Colours
I am plotting some results from experiments: I essentially need to plot markers of several different shapes on a figure and then...
5 years 前 | 1 个回答 | 0
1
个回答提问
Plotting a Legend on a Graph
I have some code for the following plot: however, when I try to introduce the legend for some reason it gives properties A and B...
5 years 前 | 1 个回答 | 0
1
个回答提问
Separate out every fourth element of a Vector
I have a 400x1 vector, I essentially need to take the first 3 elements from the vector and put them in a new vector, skip the fo...
5 years 前 | 2 个回答 | 0
2
个回答提问
Reflecting a Curve on a Graph
I have produced the following graph I basically want to slide the curve down so that it starts at 0 rather than at 0.5932 and...
5 years 前 | 1 个回答 | 0
1
个回答提问
Switching an array of Vectors from Cartesian to Spherical Coordinates
I have a 3 x 46 array called V which I am viewing as an array of 46 column vectors in Cartesian components, I am attempting to s...
5 years 前 | 3 个回答 | 0
3
个回答提问
Using a Subroutine to Create a Plot
I have the following subroutine which takes a point with radius 1 and then finds a velocity vector at that point. p = [0.282 0 ...
5 years 前 | 1 个回答 | 0
1
个回答提问
Matrix Dimension in Subroutine
I am basically trying to write a subroutine where I loop over N vectors called rij and then create a 3*3N array by evaluating ea...
5 years 前 | 1 个回答 | 0
1
个回答提问
Taking out entries of a Vector to make a new Vector
I have a 400 x 1 column vector, is it possible to 'splice' out every 4-th entry of that vector to end up with a 100 x 1 column v...
5 years 前 | 1 个回答 | 0
1
个回答提问
Loop not working properly
I have a piece of code which creates a 3 x 46 array theta = 0; phi = pi/4; r = 1 : 0.2 : 10; theta = repmat(theta,size(r))...
5 years 前 | 1 个回答 | 0
1
个回答提问
Plotting a Figure for Velocity/Temperature as One moves along a 'radial line' in steps of 0.2
I have results for velocity and temperature due to a flow when you choose fix theta and phi in spherical polar coordinates and m...
5 years 前 | 0 个回答 | 0
0
个回答提问
Creating a Matrix from Distances between Vectors
I start with a 3 x 46 array where each 3 x1 column in the array is viewed as a position vector of a point, let's say the first v...
5 years 前 | 2 个回答 | 0
2
个回答提问
Creating an Array for Different Radial Positions
I am basically looking to take a point in spherical polar coordinates such that theta = 0, phi = pi/2 and r = 1, then extend out...
5 years 前 | 1 个回答 | 0
1
个回答提问
Not Enough Input Arguments
I am attempting to run someone else's code (not well written, I appreciate), it begins as: function save_data_R13_MFS(build_var...
5 years 前 | 1 个回答 | 0
1
个回答提问
How to Import Data from another MATLAB file?
I have a MATLAB file which creates a 400x1 array when I run it, I would basically like to copy the data from that array over int...
5 years 前 | 1 个回答 | 0
1
个回答提问
Labelling Curves on a Graph
I have the following graph as shown below: Rather than having a legend, I would like to have the curves labelled, so for exap...
5 years 前 | 1 个回答 | 0
1
个回答提问
How to get a Scalar from a Matrix and Two Vectors
If I am given a 3x3 matrix A and two 3x1 vectors X,Y I basically need to multiply them out with each other to get a scalar. My ...
6 years 前 | 1 个回答 | 0
1
个回答已回答
How to Plot a Graph for a Range of Values
I'm not sure if that will work, I will give an example of the code to see if that helps. Basically, there is a parameter Kn whi...
How to Plot a Graph for a Range of Values
I'm not sure if that will work, I will give an example of the code to see if that helps. Basically, there is a parameter Kn whi...
6 years 前 | 0
提问
How to Plot a Graph for a Range of Values
I am working on a problem in mechanics and have obtained an expression for the force on an object: the expression contains sever...
6 years 前 | 2 个回答 | 0
2
个回答已回答
How can I convert into new coordinates over a loop?
I will show you what I am intending, basically I have a piece of code which creates a 3 x N array depending on the values I choo...
How can I convert into new coordinates over a loop?
I will show you what I am intending, basically I have a piece of code which creates a 3 x N array depending on the values I choo...
6 years 前 | 0
提问
How to Index Points and Store them all in an Array
I am working with a surface on which I place an arbitrary number of nodes. The points are indexed in spherical polar coordinate...
6 years 前 | 1 个回答 | 0
1
个回答提问
How can I convert into new coordinates over a loop?
I am working with a set of vectors for a calculation: the vectors are obtained in spherical polar coordinates and I then need to...
6 years 前 | 2 个回答 | 0