統計
All
Feeds
回答済み
How to use If and for Random Matrices???
So the way without the for and if loops is: X=rand(5,8) X(X<(0.5))=0; X(X>(0.5))=1; if you really want to use loo...
How to use If and for Random Matrices???
So the way without the for and if loops is: X=rand(5,8) X(X<(0.5))=0; X(X>(0.5))=1; if you really want to use loo...
7年以上 前 | 1
質問
Scatter not ignoring NaN in image
Hey everyone, I need your help for a short moment. I used "scatter" to plot the following image. <</matlabcentral/answers/upl...
7年以上 前 | 2 件の回答 | 0
2
回答回答済み
[Help me, please] How to find 3 point maximum matrix in matlab ?
I am not sure if this is what you wanted, but I managed to recreate what the code should be doing to get your results. A=[7...
[Help me, please] How to find 3 point maximum matrix in matlab ?
I am not sure if this is what you wanted, but I managed to recreate what the code should be doing to get your results. A=[7...
7年以上 前 | 1
| 採用済み
回答済み
How to select an array without element i
This is not pretty, but it works: a =[1;4;7;11] n = 4 V = zeros(3,n) for i=1:n V(:,i)=a([1:i-1...
How to select an array without element i
This is not pretty, but it works: a =[1;4;7;11] n = 4 V = zeros(3,n) for i=1:n V(:,i)=a([1:i-1...
7年以上 前 | 1
回答済み
How to detect shape within image
This might help you: <https://de.mathworks.com/help/images/ref/imcontour.html imcontour>
How to detect shape within image
This might help you: <https://de.mathworks.com/help/images/ref/imcontour.html imcontour>
7年以上 前 | 0
回答済み
I need to write down a function 'linzav' which needs to check is the given set of vectors linearly dependent or independent. If it is dependent, write down one vector as linear combination of others?
A way to start might be something like this: Vec_1=[1;2;3] Vec_2=[2;4;6] Lin=Vec_1./Vec_2 if all(Lin == Lin(1)) ...
I need to write down a function 'linzav' which needs to check is the given set of vectors linearly dependent or independent. If it is dependent, write down one vector as linear combination of others?
A way to start might be something like this: Vec_1=[1;2;3] Vec_2=[2;4;6] Lin=Vec_1./Vec_2 if all(Lin == Lin(1)) ...
7年以上 前 | 0
質問
Increase the resolution of contour
Hello, so I tried to plot a coast line with contour. All I did is: Loading the Data (blue=1 is land, green=0 is water) and ...
7年以上 前 | 1 件の回答 | 0
1
回答質問
Switch-case error message by matlab
Hey guys, I got this "problem" I made a switch-case thingy and it is working, but matlab shows me these red bars at the right ...
7年以上 前 | 0 件の回答 | 0
0
回答質問
How do I let Matlab know which functions to call ?
So what I want to do is basically something like this: Stokes = 'enabled' Wind = 'enabled' Flow = 'disabled' I wan...
8年弱 前 | 1 件の回答 | 0
1
回答質問
What does "@" do ?
So this is a simple question. I found some code that uses "@" and I looked it up in the matlab documentation, but I did not fin...
8年弱 前 | 2 件の回答 | 2
2
回答質問
Using a matrix in scatteredInterpolant
Hey guys, so I got the following problem: I want to interpolate my matrix (size 220x180x1801) onto a new grid (of course size ...
8年弱 前 | 0 件の回答 | 0
0
回答質問
How to plot rows of two matrices in different colors without for loop
Hey guys, I need your help. So I got two matrices x and y. They are currently 4135*1441 large. So what I want to do is basic...
8年弱 前 | 1 件の回答 | 0
1
回答質問
Faster interpolation than interp2 ?
Hey guys, I have a question. I am currently using interp2 for interpolation of single points on a grid. In my case it is ...
8年弱 前 | 1 件の回答 | 0
1
回答解決済み
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
約8年 前
質問
integral length of turbulence
Hey guys, I need your help. It is about the integral length of turbulence flow. So we got data from some wind measurement, recor...
約8年 前 | 0 件の回答 | 0