Estadísticas
0 Problemas
43 Soluciones
CLASIFICACIÓN
18.015
of 290.048
REPUTACIÓN
2
CONTRIBUCIONES
6 Preguntas
1 Respuesta
ACEPTACIÓN DE RESPUESTAS
16.67%
VOTOS RECIBIDOS
2
CLASIFICACIÓN
of 19.630
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
10.464
of 144.437
CONTRIBUCIONES
0 Problemas
43 Soluciones
PUNTUACIÓN
450
NÚMERO DE INSIGNIAS
2
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
Pregunta
Linear equalities in gamultiobj
Is there a way to include multiple equality constraints in the multi-objective genetic algorithm of matlab. Every matlab or tool...
alrededor de 11 años hace | 1 respuesta | 0
1
respuestaPregunta
Constraints on the genes of a chromosome of multi-objective Genetic algorithm (gamultiobj)
I'm using the multi-objective GA in matlab and I have to put constraints on the members of the population as follows: let x be ...
alrededor de 11 años hace | 1 respuesta | 0
1
respuestaPregunta
How to use nested function in main program as constraint for a Genetic Algorithm that optimizes the main?
This is my main program: function CDG=fuzz(a,b) CDG=10*sum(b); %code% [a,b,c]=function flow(a,b) [d,e,f]=func...
alrededor de 11 años hace | 1 respuesta | 0
1
respuestaResuelto
Create matrix of replicated elements
Given an input element x, and the dimensions, (m, n) return a matrix of size m x n filled with element x. Example: Input: ...
alrededor de 11 años hace
Pregunta
inv(matrix) takes shorter time than \ operator
A=magic(5) A = 17 24 1 8 15 23 5 7 14 16 4 6 13 20 2...
alrededor de 11 años hace | 3 respuestas | 2
3
respuestasResuelto
Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];
más de 11 años hace
Resuelto
Find the sum of the elements in the "second" diagonal
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.
más de 11 años hace
Resuelto
Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1
más de 11 años hace
Resuelto
radius of a spherical planet
you just measured its surface area, that is the input.
más de 11 años hace
Resuelto
Too mean-spirited
Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...
más de 11 años hace
Resuelto
Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...
más de 11 años hace
Resuelto
Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0
más de 11 años hace
Resuelto
Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...
más de 11 años hace
Resuelto
matrix of natural number
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 resides seially as shown in the examples below. ...
más de 11 años hace
Resuelto
Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...
más de 11 años hace
Resuelto
Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...
más de 11 años hace
Resuelto
Extract leading non-zero digit
<http://en.wikipedia.org/wiki/Benford%27s_law Benford's Law> states that the distribution of leading digits is not random. This...
más de 11 años hace
Resuelto
Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...
más de 11 años hace
Resuelto
Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...
más de 11 años hace
Resuelto
Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...
más de 11 años hace
Resuelto
Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
más de 11 años hace
Resuelto
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
más de 11 años hace
Resuelto
Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...
más de 11 años hace
Resuelto
Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...
más de 11 años hace
Resuelto
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
más de 11 años hace
Resuelto
Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...
más de 11 años hace
What is missing from MATLAB?
one thing i'm finding particularly frustrating now is matlab inability to accept imaginary numbers in polar form directly. ther...
más de 11 años hace | 0
Resuelto
Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...
más de 11 años hace