Community Profile

photo

Matteo Masto


Last seen: 13 días ago Active since 2019

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


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

2 meses ago | 1 answer | 0

1

answer

Question


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

más de 1 año ago | 1 answer | 0

1

answer

Question


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

más de 1 año ago | 1 answer | 0

1

answer

Question


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

alrededor de 2 años ago | 2 answers | 0

2

answers