Feeds
문제를 풀었습니다
Knight's Tour Checker
Given a matrix a, determine whether or not a legal <http://en.wikipedia.org/wiki/Knight's_tour knight's tour> is present. The kn...
대략 1개월 전
문제를 풀었습니다
Sums with Excluded Digits
Add all the integers from 1 to n in which the digit m does not appear. m will always be a single digit integer from 0 to 9. no...
대략 1개월 전
문제를 풀었습니다
Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...
대략 1개월 전
문제를 풀었습니다
Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...
1년 초과 전
답변 있음
Cannot Connect to Local Redis Instance: Invalid Host Name "localhost"
I encountered this same message, for me the problem was that my /etc/hosts file on MacOS had been modified when I did some work ...
Cannot Connect to Local Redis Instance: Invalid Host Name "localhost"
I encountered this same message, for me the problem was that my /etc/hosts file on MacOS had been modified when I did some work ...
거의 2년 전 | 0
제출됨
Analyzing Fleet Test Data using MATLAB
Files from the webinar "Analyzing Fleet Test Data using MATLAB"
대략 3년 전 | 다운로드 수: 3 |
제출됨
Optimization in MATLAB: An Introduction to Quadratic Program
Files used in "An Introduction to Quadratic Programming" Webinar
3년 초과 전 | 다운로드 수: 11 |
문제를 풀었습니다
5th Time's a Charm
Write a function that will return the input value. However, your function must fail the first four times, only functioning prope...
대략 7년 전
문제를 풀었습니다
Ned's Queens
A tribute to Cody's five-year anniversary should also celebrate the people behind Cody, and in this particular case, our illustr...
대략 7년 전
문제를 풀었습니다
The 5th Root
Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...
대략 7년 전
제출됨
Files for the 2012 Webinar "Tips and Tricks - Getting Started Using Optimization with MATLAB"
These are the files that were used for the demonstrations in the webinar.
대략 8년 전 | 다운로드 수: 5 |
제출됨
Optimal Component Selection Using the Mixed-Integer Genetic Algorithm
Use the mixed-integer genetic algorithm to solve an engineering design problem.
대략 8년 전 | 다운로드 수: 93 |
문제를 풀었습니다
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
8년 초과 전
문제를 풀었습니다
Model a mass spring system
Model an ideal mass-spring system shown below where the spring is initially stretched. <<http://blogs.mathworks.com/images/se...
8년 초과 전
문제를 풀었습니다
Make a half wave rectifier
Produce a signal that outputs the given sine wave source when it is greater than zero and outputs zero when it is less than zero...
8년 초과 전
문제를 풀었습니다
Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>
8년 초과 전
문제를 풀었습니다
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
대략 9년 전
답변 있음
Optimizing FLC with GA
Hi Michael, Here's an <http://www.mathworks.com/help/gads/examples/coding-and-minimizing-a-fitness-function-using-the-genetic...
Optimizing FLC with GA
Hi Michael, Here's an <http://www.mathworks.com/help/gads/examples/coding-and-minimizing-a-fitness-function-using-the-genetic...
대략 10년 전 | 0
문제를 풀었습니다
Text processing - Help Johnny write a letter home from camp
Johnny overuses the word 'great'. Write a script that will help him with this and future letters. If a sentence contains more ...
10년 초과 전
문제를 풀었습니다
Set the array elements whose value is 13 to 0
Input A either an array or a vector (which can be empty) Output B will be the same size as A . All elements of A equal to 13...
10년 초과 전
답변 있음
how can i solved mixed integer linear programming using genetic algorithm in matlab
If your objective function and constraints are linear, I highly recommend using the mixed-integer linear programming solver in O...
how can i solved mixed integer linear programming using genetic algorithm in matlab
If your objective function and constraints are linear, I highly recommend using the mixed-integer linear programming solver in O...
10년 초과 전 | 0
답변 있음
how to implement MILP in matlab
As of R2014a, Optimization Toolbox has a mixed-integer linear programming solver: <http://www.mathworks.com/help/optim/ug/intli...
how to implement MILP in matlab
As of R2014a, Optimization Toolbox has a mixed-integer linear programming solver: <http://www.mathworks.com/help/optim/ug/intli...
10년 초과 전 | 0
| 수락됨
답변 있음
Numerical packing
Seeing how Optimization Toolbox has a mixed-integer solver in R2014a, I figured I would post this alternate solution that uses <...
Numerical packing
Seeing how Optimization Toolbox has a mixed-integer solver in R2014a, I figured I would post this alternate solution that uses <...
10년 초과 전 | 3
답변 있음
simultaneous linear equations minimization by linprog command
The summation of the variables being equal to a constant could be taken care of by an equality constraint. In that case, your A...
simultaneous linear equations minimization by linprog command
The summation of the variables being equal to a constant could be taken care of by an equality constraint. In that case, your A...
거의 11년 전 | 0
문제를 풀었습니다
How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...
대략 11년 전
문제를 풀었습니다
Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]
대략 11년 전
문제를 풀었습니다
Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.
대략 11년 전
문제를 풀었습니다
Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...
대략 11년 전
답변 있음
I'm trying to write a bit of user friendly code where the user is prompted to enter file names and the names will be stored in an array. However, I keep getting errors. Can someone fix this code below?
Two things that I think will help: 1) Use a cell array to store the names of the files rather than an array. This will be ea...
I'm trying to write a bit of user friendly code where the user is prompted to enter file names and the names will be stored in an array. However, I keep getting errors. Can someone fix this code below?
Two things that I think will help: 1) Use a cell array to store the names of the files rather than an array. This will be ea...
11년 초과 전 | 0
| 수락됨