photo

Steven


Con actividad desde 2011

Followers: 0   Following: 0

Mensaje

Estadística

All
MATLAB Answers

16 Preguntas
18 Respuestas

Cody

0 Problemas
10 Soluciones

CLASIFICACIÓN
1.817
of 300.302

REPUTACIÓN
37

CONTRIBUCIONES
16 Preguntas
18 Respuestas

ACEPTACIÓN DE RESPUESTAS
93.75%

VOTOS RECIBIDOS
18

CLASIFICACIÓN
 of 20.911

REPUTACIÓN
N/A

EVALUACIÓN MEDIA
0.00

CONTRIBUCIONES
0 Archivos

DESCARGAS
0

ALL TIME DESCARGAS
0

CLASIFICACIÓN
38.417
of 168.040

CONTRIBUCIONES
0 Problemas
10 Soluciones

PUNTUACIÓN
110

NÚMERO DE INSIGNIAS
1

CONTRIBUCIONES
0 Publicaciones

CONTRIBUCIONES
0 Público Canales

EVALUACIÓN MEDIA

CONTRIBUCIONES
0 Temas destacados

MEDIA DE ME GUSTA

  • 3 Month Streak
  • Thankful Level 3
  • Knowledgeable Level 1
  • First Answer
  • Solver

Ver insignias

Feeds

Ver por

Pregunta


Multiobjective genetic algorithm stopping criteria
Hi, I want to optimize an objective function which returns 3 values [y(1), y(2), y(3)] using gamultiobj toolbox. I set up the...

alrededor de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Compare 2 vectors together
Hi, Let's say we have 2 vectors of different lenght, values (but there's not 2 values identical in the same vector) and not s...

alrededor de 13 años hace | 1 respuesta | 0

1

respuesta

Pregunta


how to switch the value of a boolean.
Hi, is there any function to do the following : a = true; b = someFunction(a) ==> b = false b = sumeFuncti...

alrededor de 13 años hace | 2 respuestas | 0

2

respuestas

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 13 años hace

Resuelto


The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

más de 13 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 13 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 13 años hace

Resuelto


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

más de 13 años hace

Resuelto


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

más de 13 años hace

Resuelto


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

más de 13 años hace

Resuelto


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 ...

más de 13 años hace

Resuelto


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

más de 13 años hace

Resuelto


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:...

más de 13 años hace

Respondida
PI Controller tuning
Any idea folks ?

más de 13 años hace | 0

Pregunta


PI Controller tuning
Hi, I have a second order Transfert Function that I would like to control with a PI. My problem is how to set the proportiona...

más de 13 años hace | 2 respuestas | 0

2

respuestas

Pregunta


manage time computing
Hi, I would like to manage the computing time of a function. For example : function y = myfun(x) y = something_long_t...

casi 14 años hace | 1 respuesta | 0

1

respuesta

Pregunta


how to organize your code in blocks
hi, I wonder if it's possible to regroup (minimize) some parts of your code. Matlab offers this with for loop, but could it be ...

casi 14 años hace | 2 respuestas | 0

2

respuestas

Respondida
Simulink if/else block
the block I was looking for was index vector

casi 14 años hace | 0

| aceptada

Pregunta


vectorization
hi, is there a quick way to change the values of the diagonal of a matrix, instead of for i = 1:length(A) A(i,i) = 0;...

casi 14 años hace | 2 respuestas | 1

2

respuestas

Pregunta


How to pick a value according to its probability
Hi, Let's say P = [0.1 0.3 0.4 0.2] X = [1 2 5 9] where P(n) is the probability to select the X(n) element. I wish...

casi 14 años hace | 4 respuestas | 1

4

respuestas

Pregunta


Easy question with probability
Hi, Let's say P = [0.1 0.3 0.4 0.2] X = [1 2 3 4] where P(n) is the probability to select the X(n) element. I wish...

casi 14 años hace | 2 respuestas | 0

2

respuestas

Respondida
Polynomial
f = @(x,y,z)(x+y+z); or f = inline('x+y+z', 'x', 'y', 'z'); or function f = myfun(x,y,z) f = x+y+z; return g...

casi 14 años hace | 1

Respondida
Heat transfer
Hi, You should take a look at MLE+. It's a toolbox wich make the connection between Matlab and EnergyPlus. Obviously, you need ...

casi 14 años hace | 0

| aceptada

Pregunta


Simulink if/else block
Hi, I'm looking for the right way to set a conditional statement in Simulink. That's the pseudo-code I wish to have: if ...

casi 14 años hace | 2 respuestas | 0

2

respuestas

Respondida
TeX (LaTeX math mode) symbols in legends and labels in MATLAB figures
Try with Latex interpreter, something like title(['$ latex $'],'interpreter','latex')

casi 14 años hace | 0

Respondida
for loop
value = 1:10; skip = [4 6 9]; value(skip) = []; for i = value ... end

casi 14 años hace | 1

Respondida
for loop
one way could be to specify manually the values: for i = [1 2 3 5 7 8 10] ... end

casi 14 años hace | 1

Pregunta


plot different color
Hi, Let's say I have x = 1:100; y = sin(x); I wish to plot it in blue but if y is superior at 0.5, I want that the plot chang...

casi 14 años hace | 2 respuestas | 1

2

respuestas

Pregunta


simple operations
Hi, I'm seeking the way to erase repeated value into vector, like this: a = [0 0 1 2 2 2 7]; b = something(a); b = [0 1 2...

casi 14 años hace | 1 respuesta | 0

1

respuesta

Respondida
close terminal window
I got it, I thought matlab could do it by itself, but instead I modify the batch file of the program.

casi 14 años hace | 0

| aceptada

Cargar más