Community Profile

photo

Matteo Masto


Last seen: alrededor de 2 años hace Con actividad desde 2019

Estadísticas

  • Thankful Level 2
  • Thankful Level 1

Ver insignias

Content Feed

Ver por

Pregunta


How can I obtain the permutation of 3 binary variables?
Hi everyone! Can anybody tell me how to obtain the classical permutation matrix of binary variables? for example given n=3 bo...

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

1

respuesta

Pregunta


How can I fit a custom function that contains workspace vector variables?
% data values X = [-7.2460 -7.3355 -7.4320 -7.5752 -7.6996 -7.8780 -8.1560 -8.3517 -8.6170 -8.8883 -9.1808 ...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


how can I extract a fit parameter, that depends on the independent variable, as a vector of that variable? Thanks a lot!
y = ((coeff(1)./x)+(coeff(2)^2)./(x.^2))*(fitParameter); % but fitParameter also depends on vector x

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


how do I evaluate the value of an expression?
x = [-2:0.01:1]; f = (x.^2) -x +1 - (exp(-x)); x1 = -1.9; f(x1) this gives me the error: Array indices must be positive in...

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

2

respuestas