Posts by Marcos Salvino • 1 point
2 posts
-
-1
votes2
answers170
viewsA: How to convert Matlab functions to Rstudio?
I’ll try to explain it better! I have a set of experimental data that needs to be adjusted by a theoretical curve (e.g. sigmoid) through least squares. In Matlab you have the main program and its…
-
0
votes2
answers170
viewsQ: How to convert Matlab functions to Rstudio?
tempo=Seq; conc=NCelTotais; coef_ini = [MaxCT 1 2]; coef=[]; OPTIONS = optimset('MaxIter',1000,'TolFun',0.001,'TolX',0.01); coef = fminsearch(@funcaoerro_sigmoide,coef_ini,OPTIONS); A=coef(1);…