photo

Cesar Ramirez


Con actividad desde 2019

Followers: 0   Following: 0

Estadística

  • Thankful Level 2
  • Thankful Level 1

Ver insignias

Feeds

Ver por

Pregunta


Use matrix as a function
Hi, I want to use a matrix as a function , something like this m = [2 0 1; 4 3 5; 1 0 2; 3 1 10]; f = @(x,y,z) norm( Where ...

más de 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Random Number from -1 to 1
Hi. I want to know how to generate a random number from -1 to 1

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Matrix dimension must agree
Hi , I get error when trying to make xh = xp + r. xl = [-5,-5] ; xu = [5,5] ; D = 2 ; g =1000; xp = xl+(xu-xl).*rand(0,1) ...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Error using rand Size inputs must be scalar.
Hi, I am trying to use rand , but Im getting erros Size inputs must be scalar. I am almost new at matlab and was wonder how to...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Plotting multiple times in a function
Hi , I amd new using matlab and I would want to know how can I plot every generation of child ( xh) and see how has improve each...

más de 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Insert two elements in a multidimensional array
Hi, I want to insert two elements (h1,h2) into my multi array called xh after its initialized all with zeros. N = 50; xh = z...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Assignment has more non-singleton rhs dimensions than non-singleton subscripts
Hi, Im getting error in (line 16) x(i,i) = xl+(xu - xl).*rand(2,1); Im new in matlab, and I cant solve that error in rand N =...

más de 5 años hace | 1 respuesta | 0

1

respuesta