Questions tagged as 'matlab'

0
answers

I need to connect econometric software to Teradata databases

I'm looking for connection solutions, better than ODBC / JDBC, from some econometric software such as SAS, Matlab, STATA, ACL, EViews to my base on Teradata, including In-Database processing solutions.     
asked by 08.03.2018 / 17:20
1
answer

Division in matlab?

Good evening. Could someone help me? How to show the result of a substitution in matlab without being in split form? Show the decimal number? 'res' is a variable that holds a polynomial expression 'subs' was used to replace the 'x' of t...
asked by 14.11.2017 / 03:30
1
answer

How to return output argument in matlab?

I created a function to calculate a linear system with 5 unknowns (A1 to A5), which has as output argument 'Ai' and input 'A and b' which are respectively a Matrix and Vector. The values of A and b are assigned, but I did not put it here. At...
asked by 04.11.2017 / 02:58
0
answers

Is it possible to change a comparison of an existing variable in MatLab?

Can you change / change the equality (comparison) of an existing variable in MatLab ?. The variable eq of my program is worth the first highlight below. This variable is compared to 0 . I want to know if you can change this compa...
asked by 02.11.2017 / 19:57
0
answers

Error converting from matlab to python

I want to convert the following function into matlab for python: Função Matlab cn = reshape(repmat(sn, n_rep, 1), 1,[]); resultado matlab cn = Columns 1 through 23 1 1 1 1 1 1 0 0 0 1 1 1...
asked by 06.10.2017 / 15:24
1
answer

error in isempty function

I have an error in this function isempty in matlab, I need that when empty through an array make the following condition to if isempty : function bn_hat = my_descodificador_Hamming_v2(rn,N,H_Ham,n_cyc,k_cyc,simb_alfa) rn = r...
asked by 12.09.2017 / 23:01
1
answer

How to transform a random vector into an ordered vector without losing the correlation in Matlab

Hello, I am trying to run a power flow program (electrical engineering). The routine works perfectly if the bar number vector is of the type: A=[1;2;3;4;5;6;7;8] The problem is that eventually I come across vectors of the type: B=[1;2;7;8...
asked by 06.09.2017 / 18:56
1
answer

How to generate a filter to remove outliers from a time series in Matlab?

I would like to create a low-pass filter to remove outliers from a time series. They are sea surface temperature (tsm) data, in this series there are some data that are outliers and do not know very well how to create a low-pass filter, could...
asked by 23.06.2017 / 16:39
1
answer

Syntax problem when compiling modeling in Lingo

I'm trying to solve the modeling of a linear programming exercise in Lingo and every time I call the software compile the code I get the error code: 11. INVALID INPUT. SYNTAX ERROR HAS OCCURRED. However, everything you entered appears to...
asked by 16.04.2017 / 20:57
1
answer

MatLab - how to put an exponent on xlabel

Good afternoon. I want to put the units of m ^ (- 1) on xlabel. f=[40.82,52.63,75.80]; inversoL=[1/0.730,1/0.600,1/0.400]; coeficientes=polyfit(inversoL,f,1) f_est=coeficientes(1).*inversoL+coeficientes(2); plot(inversoL,f,'kd-'); hold on; plo...
asked by 12.03.2017 / 21:44