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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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...
7 years 前 | 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...
7 years 前 | 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 ...
7 years 前 | 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...
7 years 前 | 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 ...
7 years 前 | 1 个回答 | 0
1
个回答提问
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 years 前 | 0 个回答 | 0