Answered
How can I implement constraints of x1 not equal to x2 in intlinprog ?
Hi, im highly interested in that question and i hope anybody has a better answer then me. I found that in the forum so far: ...

8 years ago | 0

Answered
ODE45 for a second order differential equation
Hi, transform a n-th order ode into a system of n 1st order ode's to solve it. Matlab documentation example: <https://de....

8 years ago | 1

Answered
Need matlab(m file) on "jacobian soltions to inverse kinematics"
Hi, the best idea is that you write one ;-)

8 years ago | 0

Answered
How to solve two coil equation?
Hi again, to solve the last equation numerically you will Need this: <https://de.mathworks.com/help/matlab/ref/cross.html> ...

8 years ago | 0

Answered
How to solve two coil equation?
Hi, this should work numerically in Matlab - just define your function and use this: <https://de.mathworks.com/help/matlab...

8 years ago | 0

| accepted

Answered
How to solve two coil equation?
Hi, isn't the angel Pi/4 (upper bound) and 0 (lower bound) for solving the integral?

8 years ago | 0

Answered
I am getting the error message "Variable 'D' is not fully defined on some execution paths." for this code. please help me
Hi, i think your code does not cover all possible cases. If variable T <= 0.02 when calling the function e.g. x = mpp(10, 0.0...

8 years ago | 0

Solved


How to subtract?
*&plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn* * Imagine you need to subtract one...

8 years ago

Answered
could anyone help me to overcome the error
Hi, maybe this will help: <https://de.mathworks.com/matlabcentral/answers/82470-how-can-i-convert-cell2mat-when-the-values...

8 years ago | 0

Answered
Invalid value for OPTIONS parameter InitialPopulationMatrix.
it was a pleasure to me ;-)

8 years ago | 0

Answered
Invalid value for OPTIONS parameter InitialPopulationMatrix.
Hi, try: options = gaoptimset('InitialPopulation',ki',... instead of options = gaoptimset('InitialPopulation',ki...

8 years ago | 1

Answered
Invalid value for OPTIONS parameter InitialPopulationMatrix.
Hi, so far i found three problems with your code: 1. replace your ki-variable by populationsize options = gaoptimset(...

8 years ago | 2

Answered
Invalid value for OPTIONS parameter InitialPopulationMatrix.
To look if your code is working you could set si = 25 and see if it works. Are there any zeros or negative values in your s...

8 years ago | 0

| accepted

Answered
Invalid value for OPTIONS parameter InitialPopulationMatrix.
Hi, what is the result when you type whos si seems like Matlab doesnt accept this parameter.

8 years ago | 1

Submitted


Graph: Node Coloring with Johnson Algorithm
Coloring the nodes of a Matlab graph object with the Johnson algorithm

8 years ago | 2 downloads |

0.0 / 5

Answered
"No module named 'matlab.engine'; 'matlab' is not a package"
Hi, at last I was able to solve the problem for my case. After I have checked several times that the installation was success...

8 years ago | 2

Answered
"No module named 'matlab.engine'; 'matlab' is not a package"
Hi, i have the same problem using Windows 10, Matlab 2017a and Python 3.5 (same using 2.7 - then used 3.5). What can i do to...

8 years ago | 0

Solved


Times 3 problem
When you enter the number, it should return the number multiplied by 3

9 years ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

9 years ago

Solved


Basics: 'Find the eigenvalues of given matrix
Find the eigenvalues y for a given matrix x.

9 years ago

Solved


Integer sequence - 2 : Kolakoski sequence
Get the n-th term of <https://oeis.org/A000002 Kolakoski Sequence>.

9 years ago

Solved


Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

9 years ago

Solved


Array of Ones
Create a 100 X 100 array of ones.

9 years ago

Solved


Add offset to a signal
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-offset-eqn.png>> You should see a downward...

9 years ago

Solved


Alternating sum
Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...

9 years ago

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

9 years ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

9 years ago

Solved


Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>

9 years ago

Solved


Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

9 years ago

Solved


Square a Number
Given an input x, return y, which is equal to the square of x.

9 years ago

Load more