Question

root() function gives compelx solution for cubic equation. how to get the nearby real root?

Dear All: i have a cubic equation and the coefficients are set already. But it always gives me the complex roots (all of them)...

12 månader ago | 0 answers | 0

Question

import pdf as a dataset

Hi, I have around hundred pdf file, all of which has the same form like excel file. The only thing is they are pdf files. It s...

ungefär ett år ago | 0 answers | 0

Question

combine or merge multiple excel files into one file.

hi, i have 100 excel files and they have one of the three following types. type1: name id 2010 2011 2012 2013 2014 201...

ungefär ett år ago | 1 answer | 0

Question

merge txt and num back again.

Hi, i get the num and txt by using following code: [num, txt]=xlsread('david.xls'); after i deal with some other process an...

ungefär ett år ago | 1 answer | 0

Question

extracting index number if an item exist in some columns while not in the rest columns

Hi, let us say, i have a data table which has following form: Index name A1 A2 A3,,,,,A10 and there is an item called Davi...

ungefär ett år ago | 1 answer | 0

Question

loop for a series of changing variable or tables

Hi, If i have a series of tables such as AX1, AX2,,,,,AX10. And i want to extract element B from each AX sereis and save it ...

ungefär ett år ago | 1 answer | 0

Question

draw 4d vision graph for this matrix

Hi, I have a matrix in this form: %%%%%%%%%%%%%%%%%%%%% a b c x1 a11 a12 a13 x1 a2...

mer än ett år ago | 1 answer | 0

Question

How to draw 3d graph for this given situation?.

Hi, I have a matrix size data and i need to draw the plot. %%%%%%%%%%%%%%%%%%%%%% y1 y2 y3 y4 x1 ...

mer än ett år ago | 1 answer | 0

Question

For loop for inputting some discontinous numbers

Hi, I am trying to write a for loop on matlab such that the input is not some continous values. for example: ***************...

mer än ett år ago | 1 answer | 0

Question

cubic equation solution simple and fast way?

Hi, I try to solve a cubic equation. I checked and it seems people are using bisection method to find the solution for a cubic...

mer än ett år ago | 1 answer | 0

Question

VAR model Simulation(linear expectations)

Hello, everybody: If i have a linear var model: A*E_t Y_{t+1}=B*Y_t +C*V_t, where V_t is error term with normal uniform distri...

mer än ett år ago | 0 answers | 0

Question

Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 2.240406e-24.

Hi, I have an operation like this: inv(A)*B; and i get this warning: Warning: Matrix is close to singular or badly scaled. Res...

mer än ett år ago | 1 answer | 0

Question

linear regression of time series with time index

Hi, let us say we have a variable y and quarter index for 10 years. Let me use t to denote for time index. If i want to run line...

mer än ett år ago | 1 answer | 0

Question

AR(1) process estimate infer, the number of extracted residual term

Hi, all let us say, we have 10 observation of variable Y and i use the following code: [ytrend, ycycle]=hpfilter(Y,1600); %c...

mer än ett år ago | 0 answers | 0

Question

How to extract Month string from day_Month_Year time variable and create a new quarterly time index?

Hi, i have a time index in this following format: day_month_year, for example, Oct_01_2019, how will i extract the months and cr...

mer än ett år ago | 1 answer | 0