Questions tagged as 'matlab'

0
answers

Automatic clock update in Matlab

Does anyone know how to update the clock in Matlab ? I can only update after pushing a button, but I want it to update automatically.     
asked by 14.07.2016 / 03:43
0
answers

Variable error not defined

I have this code and it tells me that Spec is not defined in (pcolor (freq, tstart, Spec); colorbar), but I'm calculating it in the loop .. Does anyone realize why the error? Thank you! N size=N;%dimensão da Janela móvel Nsize2=Nsize/2; df=fN...
asked by 18.03.2016 / 16:45
1
answer

How to open a .txt file in matlab that has many elements?

When the array has only a few elements, the dlmread command works but in the case of a non-high-order array. I would like to have access to the array columns.     
asked by 10.12.2015 / 15:48
1
answer

Represent vector coordinates of Matlab

I'm having problems creating a vector of objects in Matlab, the idea being that it is a vector of coordinates, i.e. the positions x and y. The goal is to have a vector to access the coordinates in the loops easily, and have the atomicity of the...
asked by 18.05.2014 / 02:49
2
answers

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); B=coef(2); C=coef(3); y = A*sigmf(tempo, [B C]);...
asked by 16.01.2018 / 00:03
1
answer

Calculation of length and width [closed]

Hello, I'm developing an application in Octave, which is very similar to MathLab and with C, which calculates the height and width of an object, which in this case is a seed. The program receives an input image and then binarizes it. I would l...
asked by 02.06.2018 / 16:07
1
answer

Doubt in the implementation of the ode45 function of Matlab

I've never used the Matlab ode45 function. Below the function and program I have developed, can someone please help me find the errors? -Function function di = didt (t, i, flag, R, L, v, f, Rsec) i1 = i (1); i2 = i (2); A = L; D = L * R; w...
asked by 09.10.2016 / 05:44
1
answer

Performance difference between C and MatLab

Friends, I have created two apparently identical cryptographic codes, one in C language and the other in MatLab, the code in MatLab has more functions, that is, it is more extensive and performs more functions than the C code. I am using the...
asked by 29.06.2017 / 20:44