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...
約4年 前 | 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...
約4年 前 | 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...
4年以上 前 | 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...
4年以上 前 | 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...
4年以上 前 | 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 ...
4年以上 前 | 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...
4年以上 前 | 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...
4年以上 前 | 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))...
4年以上 前 | 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...
4年以上 前 | 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...
4年以上 前 | 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...
4年以上 前 | 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...
4年以上 前 | 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年弱 前 | 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年弱 前 | 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 ...
5年以上 前 | 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...
5年以上 前 | 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...
5年以上 前 | 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...
5年以上 前 | 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...
5年以上 前 | 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...
5年以上 前 | 2 件の回答 | 0