Max Heiken
Followers: 0 Following: 0
統計
All
Feeds
回答済み
Ranking values - sorting into descending order
If you do not expect there to be duplicates, I too recommend to use sort instead. [~, rnkR1List] = sort(X, 2, 'descend'); If y...
Ranking values - sorting into descending order
If you do not expect there to be duplicates, I too recommend to use sort instead. [~, rnkR1List] = sort(X, 2, 'descend'); If y...
3年以上 前 | 0
| 採用済み
回答済み
Seeking an efficient method for using 'scatter3' to create a 3D scatter plot of fixed receiver positions.
I think you are looking for meshgrid. [y, x, z] = meshgrid(1:3, 1:3, 1:3); scatter3(x(:), y(:), z(:), [], amplitude(:), 'o', '...
Seeking an efficient method for using 'scatter3' to create a 3D scatter plot of fixed receiver positions.
I think you are looking for meshgrid. [y, x, z] = meshgrid(1:3, 1:3, 1:3); scatter3(x(:), y(:), z(:), [], amplitude(:), 'o', '...
3年以上 前 | 1
| 採用済み
回答済み
Getting around overuse of "if" statements.
I agree with Srinik Ramayapally, employing switch is the most obvious change that comes to mind. To extend on that solution, you...
Getting around overuse of "if" statements.
I agree with Srinik Ramayapally, employing switch is the most obvious change that comes to mind. To extend on that solution, you...
3年以上 前 | 0
回答済み
Plot of 3D colour scatter graph
Since the erosion is specified per vertex, I think scatter3 is to be preferred over surf or mesh. I would start with something ...
Plot of 3D colour scatter graph
Since the erosion is specified per vertex, I think scatter3 is to be preferred over surf or mesh. I would start with something ...
3年以上 前 | 0
回答済み
Why are pagemtimes, cross and pagetranspose functions slower on GPU?
Take everything I write with a grain of salt, since I have never used GPU features myself in the past and this is just from expe...
Why are pagemtimes, cross and pagetranspose functions slower on GPU?
Take everything I write with a grain of salt, since I have never used GPU features myself in the past and this is just from expe...
3年以上 前 | 0
回答済み
How to link/connect pixel value with Image
I am not exactly sure if I get the context. If your image is in an axes, and if you want to click in that figure to programmati...
How to link/connect pixel value with Image
I am not exactly sure if I get the context. If your image is in an axes, and if you want to click in that figure to programmati...
3年以上 前 | 1
回答済み
How to add more values to an existing structure?
A.existingField = [A.existingField; newValues];
How to add more values to an existing structure?
A.existingField = [A.existingField; newValues];
3年以上 前 | 1
| 採用済み
回答済み
How to remove null matrices from a multidemensional array?
You could identify the all zero pages and remove them like this: Matrix(:, :, ~any(Matrix, [1, 2])) = [];
How to remove null matrices from a multidemensional array?
You could identify the all zero pages and remove them like this: Matrix(:, :, ~any(Matrix, [1, 2])) = [];
3年以上 前 | 0
| 採用済み
回答済み
Error: Expected input to be a vector
It seems to me Cy and Cx must be column vectors, that is how I could reproduce the error. The function can only handle scalars f...
Error: Expected input to be a vector
It seems to me Cy and Cx must be column vectors, that is how I could reproduce the error. The function can only handle scalars f...
3年以上 前 | 0
| 採用済み
回答済み
What is the most suitable way to plot how changes in two variables affect another variable?
Perhaps the surf plot does what you want?
What is the most suitable way to plot how changes in two variables affect another variable?
Perhaps the surf plot does what you want?
3年以上 前 | 0
回答済み
Print word with different name depending on the step of the cycle?
It seems you are coming from Python or similar. The print function is not used to output text, instead use disp, fprintf, or sp...
Print word with different name depending on the step of the cycle?
It seems you are coming from Python or similar. The print function is not used to output text, instead use disp, fprintf, or sp...
3年以上 前 | 0
| 採用済み
回答済み
I'm plotting a solution to a PDE using surf but the graph turns out wrong?
The part with the sin is missing in your code. for n=1:10 u = u+(4/(n^3*pi^3)+(4/(n*pi)-4/(n^3*pi^3))*exp(-n^2*pi^2*t)).*si...
I'm plotting a solution to a PDE using surf but the graph turns out wrong?
The part with the sin is missing in your code. for n=1:10 u = u+(4/(n^3*pi^3)+(4/(n*pi)-4/(n^3*pi^3))*exp(-n^2*pi^2*t)).*si...
3年以上 前 | 0
回答済み
How to define the geographic axes for multiple geoscatter data
Hello, what an interesting issue. One solution would be to wrap one of the longitudes around using modulo: long = mod(SuperMAG...
How to define the geographic axes for multiple geoscatter data
Hello, what an interesting issue. One solution would be to wrap one of the longitudes around using modulo: long = mod(SuperMAG...
3年以上 前 | 0
| 採用済み
回答済み
Adding elements in column vectors
Hello, you can concatenate vectors and matrices vertically with a semicolon like this c = [a; b]; or concatenate them horizon...
Adding elements in column vectors
Hello, you can concatenate vectors and matrices vertically with a semicolon like this c = [a; b]; or concatenate them horizon...
3年以上 前 | 0
| 採用済み
回答済み
How to get all data from m-function?
Hello! The value A is the only one that gets output because that is what you specified in your function declaration. You could i...
How to get all data from m-function?
Hello! The value A is the only one that gets output because that is what you specified in your function declaration. You could i...
3年以上 前 | 1
| 採用済み