回答済み
How to sort one column of a matrix
B = sortrows(A,-3)

6年以上 前 | 0

| 採用済み

回答済み
comparing the two arrays
x1=[1,2,3,2,0,3,4,3,5,4,5,6,8]; x2=[3,0]; res = zeros(1,numel(x2)); for k = 1:numel(x2) res(k) = sum(ismember(x1,x2(k)...

6年以上 前 | 0

| 採用済み

回答済み
matlab code for lagrange method?
Hint: Answers has a search function. We will not write your code - learn from examples: <https://de.mathworks.com/matlabce...

6年以上 前 | 0

| 採用済み

回答済み
Selecting data in an array based on a logical value array?
<https://de.mathworks.com/help/matlab/math/array-indexing.html#MatrixIndexingExample-3>

6年以上 前 | 1

| 採用済み

回答済み
Optimization of equation with 3 variables
<https://de.mathworks.com/help/optim/ug/fmincon.html>

6年以上 前 | 1

回答済み
check if random numbers( 5x5) generated are greater than (1x5)
Here is an example using <https://de.mathworks.com/help/matlab/ref/gt.html gt (greather than)> and <https://de.mathworks.com/hel...

6年以上 前 | 0

| 採用済み

回答済み
how do i get Matlab compiler for home users?
At the Moment there is no way to get this with a home license. You can only hope that TMW will someday change his policy - or yo...

6年以上 前 | 0

回答済み
how with ode45 order we can solve a switching problem?
<https://de.mathworks.com/help/matlab/math/ode-event-location.html>

6年以上 前 | 0

回答済み
My gamultobj nonlinear constraints are being ignored
Get rid of the <= operators, they make the result of myCon a logical zero vector, which brings trouble. Use this instead, to cal...

6年以上 前 | 2

回答済み
Working with table.
Your_Table_new = Your_Table(Your_Table.Recommeded_Working_Hours >= 3000,:);

6年以上 前 | 0

| 採用済み

回答済み
Function "solve" returns a struct
syms a1 a2 q1 q2 eq = a1*cos(q1) + a2*cos(q1)*cos(q2) - a2*sin(q1)*sin(q2) == 0 sol = isolate(eq,cos(q1)) pretty(sol)

6年以上 前 | 1

回答済み
MATLAB codeto python code conversion
There is no tool to do this in an automatic manner. To do this you can seither do (let) this by hand or you use the free Matlab ...

6年以上 前 | 1

| 採用済み

回答済み
Showing years on x axis graph
<https://de.mathworks.com/help/matlab/ref/xticks.html>

7年弱 前 | 0

回答済み
Read images from different subfolders and create movie from them?!
I suggest to read about the <https://de.mathworks.com/help/matlab/ref/matlab.io.datastore.imagedatastore.html imageDatastore> fu...

7年弱 前 | 1

| 採用済み

回答済み
Creating a sequence with repeating numbers
b = repelem(1:430,1,2) or for a column: b = (repelem(1:430,1,2))'

7年弱 前 | 5

回答済み
How to read whole image dataset, and how to resize all images at once?
I suggest to read about <https://de.mathworks.com/help/matlab/ref/matlab.io.datastore.imagedatastore.html ImageDataStore> and re...

7年弱 前 | 1

回答済み
4 non-linear differential equations with ODE45
working scripts: %% V�rdier % parametre: % Carrying capacity k1 = 500; k2 = 600; k3 = 700; % De incubated males and ...

7年弱 前 | 0

回答済み
How do I solve for three unknown parameters using only one constraint equation?
you should rewrite your function as *f=d(P)* with known constants (*R*) and use <https://de.mathworks.com/help/optim/ug/lsqcurve...

7年弱 前 | 0

回答済み
How to save a variable from an anonymous function?
for nonlcon it's not necessarily an anonymous function that is needed. you can also use a "normal" function, so that you can sav...

7年弱 前 | 1

回答済み
Reshape Matrix Size Marlab
<https://de.mathworks.com/help/comm/ref/bi2de.html>

7年弱 前 | 0

| 採用済み

回答済み
problem finding the coordinates of point in stainer tree problem by brute force
your if is ending 3 lines to early. No matter what happens, you get a = x(end) and b = y(end). the m you get is the last that fu...

7年弱 前 | 1

| 採用済み

回答済み
GA with integer constraints
The genius answer is given in the documentation of ga: https://de.mathworks.com/help/gads/mixed-integer-optimization.html#bs1ci...

7年弱 前 | 2

回答済み
Calculate Area of 3D points
If all points on a plane are in 3D space, you could create a polyshape object by using <https://de.mathworks.com/help/matlab/ref...

7年弱 前 | 1

回答済み
How will I reduce the time it takes to calculate data?
<https://de.mathworks.com/help/matlab/performance-and-memory.html>

7年弱 前 | 0

回答済み
How to solve delayed reaction diffusion equations by Mathlab?
<https://de.mathworks.com/help/matlab/delay-differential-equations.html?s_tid=CRUX_lftnav>

7年弱 前 | 0

| 採用済み

回答済み
what functionalDerivative returns is a 1*1 symfun, not a vector
syms u(x) v(x) H = u^2*diff(v,x)+v*diff(u,x,x); D(1) = functionalDerivative(H,u) D(2) = functionalDerivative(H,v)

7年弱 前 | 0

| 採用済み

回答済み
Clustering data into specific range
check out the data type <https://de.mathworks.com/help/matlab/ref/categorical.html categorical>

7年弱 前 | 0

| 採用済み

回答済み
How to define binary variables in an optimization problem?
usually you set them to be integers and bound them between 0 and 1

7年弱 前 | 0

| 採用済み

回答済み
How can I solve a system of ODEs with boundary conditions
<https://de.mathworks.com/help/matlab/boundary-value-problems.html?s_tid=CRUX_lftnav>

7年弱 前 | 0

| 採用済み

回答済み
How do i merge graphs in bvp4c format ?
hold on for k = 1:4; Ha = k; init = bvpinit(linspace(-1,1,20),[0 0]); sol=bvp4c(@(x,y)rhs_bvp(x,y,Ha),@bc_bvp,init); x = ...

7年弱 前 | 0

さらに読み込む