Community Profile

photo

Adhish Aggarwal


Active since 2017

Statistics

All
  • Thankful Level 2
  • Thankful Level 1
  • Solver

View badges

Content Feed

View by

Question


How to extract data from fints using time and NOT dates
I have stock price intra minute data from 09:15 AM to 3:30 PM for last 5 years with dates in fints format. I want to extract dat...

6 years ago | 1 answer | 0

1

answer

Question


How to use for loop GARCH simulation?
I am trying to simulate GARCH volatility on rolling 90 basis and using that to predict the value. numOb ...

6 years ago | 0 answers | 0

0

answers

Question


optimisation of function parameter
I have a function :intra(vdays,high,low,close1,bollU,bollD). bollU and bollD are the input parameters. I want to optimise the ...

6 years ago | 0 answers | 0

0

answers

Question


how to create a matrix from a loop using other matrix
c = [1 2 3 4 5 6 7 8 9 10]; d = [1 0 0 ...

6 years ago | 1 answer | 0

1

answer

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

7 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

7 years ago

Question


Unable to return historical data for given security.
c = yahoo; fetch(c,'IBM','Close','01/01/2012','06/30/2012'); Error using yahoo/fetch (line 387) Unable to return histor...

7 years ago | 2 answers | 0

2

answers

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

7 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

7 years ago

Question


How to calculate value using different matrix using if and for loop
I want to calculate the value of up5 and down5 with the given condition. Each cell of up5 or down5 should be calculated separate...

7 years ago | 1 answer | 0

1

answer

Question


It only shows the else value if value of b crosses 15 even once.
b = AXIS(1:100,1) - KOTAK(1:100,1); avg5 = zeros(5,1); for k = 5:length(b) avg5(k) = mean(b(k-4:k,1)); en...

7 years ago | 1 answer | 0

1

answer

Question


can't connect to yahoo
c = yahoo; error using yahoo (line 63) Unable to connect or retrieve data from given URL.

7 years ago | 6 answers | 0

6

answers

Question


I have a 67*1 matrix of 1's and 0. I want that if variable = 1, it should display 'good' else 'nothing'.
a = 1 0 0 0 0 0 0 1 0 and so on.

7 years ago | 1 answer | 0

1

answer