Community Profile

photo

heidi pham


Active since 2018

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


defining functions in equivalent ways but get different results
Hello, when i run the following code with different ways of defining the function, I got the different results (the graphs prod...

5 years ago | 0 answers | 0

0

answers

Question


Loop with no index
hello, I feel quite strange when the below loop can run normally eventhough it loops over "l" which never appear inside the cod...

5 years ago | 1 answer | 0

1

answer

Question


Interpolation method (spline)
Hello, I am learning about interpolation. In this link https://www.mathworks.com/help/matlab/ref/interp1.html, I see that th...

5 years ago | 1 answer | 0

1

answer

Question


Plot figure - get title
Hello, I am reading the following code, and I do not understand the last two lines. I run it, but it does not change the figure...

5 years ago | 1 answer | 0

1

answer

Question


Convert fortran code to Matlab code C - Get result as complex numbers
Hello, I tried to convert a fortran code to matlab code. I don't know why I get very weird resutl after running my Malab code (...

5 years ago | 1 answer | 0

1

answer

Question


Why have negative value in result
Hello, In the following code, I try to exclude the case when there is any element of the vector "kseq" in my code. So, I expect...

5 years ago | 2 answers | 0

2

answers

Question


Iteration error iter=0
Hello, I am trying to solve a 2nd order difference equation with given bounds. Specifically: I need to solve for a sequence ...

5 years ago | 1 answer | 0

1

answer

Question


Solving a system of inequations and equations
Hello, I need to solve a system of inequations and equation, as follows: The variables need to be solved include: x, y1, y2 e...

5 years ago | 0 answers | 0

0

answers

Question


Put Strings in a column
Hello, I am trying to make a table like the following code. But when I type my code, countries in each column could not be...

5 years ago | 2 answers | 0

2

answers

Question


2d matrix of index to get value of 3D matrix
Hello, I have matrix A with size (37,30,1000); and a matrix B with size (37,1000). I want to use matrix B as a matrix of ind...

5 years ago | 2 answers | 0

2

answers

Question


sub2ind Get values of 3D matrix using an index vector
Dear all, I have a 37*30*100000 matrix (call matrix A), and a 37*1 vector which contains elements are indexes of the column f...

5 years ago | 2 answers | 0

2

answers

Question


Get corresponding value of a 3D matrix using an index vector
Hello,I have a 3D matrix, dimesion 37*30*1000. And an index vector i, dimension 37*1, containing the index of the column I want ...

5 years ago | 1 answer | 0

1

answer

Question


work with huge matrix
Hello, I have a matrix of which dimension is so huge (10^6 column and 37 rows). I have to do some computation with this matrix...

5 years ago | 2 answers | 0

2

answers

Question


Find the rows with specific value for each column
Hello, I have a 37*10000 matrix, called matrix A. For each column, I want to get the rows which has a certain value, let's s...

5 years ago | 2 answers | 0

2

answers

Question


Etstimate AR(1) coefficient in Matlab
Hello, I have a time series data of GDP of US during 1980-2017 yearly. I assume that GDP follows an AR(1) process, like: y(t)...

5 years ago | 0 answers | 0

0

answers