Community Profile # Zeynep Toprak

##### Last seen: 1 month ago
22 total contributions since 2020

• View details...

Contributions in
View by

Question

Matlab code related to finance
Generate a matrix that includes the adjusted close prices of the assets. At first, I download the data as follows stocks ...

1 month ago | 0 answers | 0

### 0

Question

Solving differential equation - where is my mistake in my code?
function HW_3_Exercise_11_ode_solver() %Firstly define the given parameters beta = 0.8; % Maximal expression rate a...

5 months ago | 1 answer | 0

### 1

Question

loop iteration in matlab
I have the following polynomial F(x) = 1^5 + (1^5 + 2^5)+ (1^5 + 2^5 + 3^5) + ... + (1^5 + 2^5 + 3^5 + 4^5 + ... + x^5) ...

6 months ago | 2 answers | 0

### 2

Question

plotting problem: getting empty graph window
I want to draw this cos(8*pi*x)/(1+x^2) for x in [-1, 1] but I get empty graph. How can I correct this?

6 months ago | 1 answer | 0

### 1

Question

taylor expanssion calculation result is wrong
function [SN] = sintaylorfunction(A, tol) k = 0; error = 0 ; sin = 0; SN = sin; sinplus1 = 0; SM =...

6 months ago | 2 answers | 0

### 2

Question

Generating random Gamma distribution
i would like to generate random gamma distributuon with variate size = 100, alpha=10, beta = 2. but i dont want to use toolbo...

12 months ago | 1 answer | 0

### 1

Question

question related to Statistics in matlab
I would like to write a matlab code by using this definition of poisson process here, I want to simulate a poisson proce...

12 months ago | 1 answer | 0

### 1

Question

Poisson Process for 500 variates
I would like to generate a code to produce a poisson process for N = 500 variates witk k is randomly between 1 and 10 and lamb...

12 months ago | 3 answers | 0

### 3

Question

Option pricing code: a problem on dimension
I would like to generate a code to calculate option pricing by using stock prices which follows geometric brownian motion proc...

12 months ago | 0 answers | 0

### 0

Question

Error message on titled layout code
I would like to print all graphs together. For that I use the following code. titledlayout(6,1) % First plot - exponenti...

1 year ago | 1 answer | 0

### 1

Question

how can I display my result: the problem on fprintf command
I write the code as follows: expo_result = ['quantile of exponential distribution =', num2str(quantile_expo)]; normal_result ...

1 year ago | 1 answer | 0

### 1

Question

What is the meaning of the error?
Question is from Tobin's book. For part (a)'s matlab code and result, n = 100 ; h = 2/n; %n intervals, width 2/n x = -1 ...

1 year ago | 0 answers | 0

### 0

Question

write this following matrix
How can I write the following matrix I define n=100 And I generate the following code D= toeplitz ([0 1 zeros(1, n-...

1 year ago | 1 answer | 0

### 1

Question

solving PDE problem : Linear Advection diffusion equation problem
I try to learn how to solve Time dependent PDE in matlab by myself. This question is from Tobin's book. The initial cond...

1 year ago | 2 answers | 0

### 2

Question

Question on Initial value problem - error correction
Question I create a script function f = exercise711 (t, x) f = t * x.^2; end And on the command window, I wrote ...

1 year ago | 1 answer | 0

### 1

Question

Question on boundary value problem
how can I deal with this boundary value problem in matlab? since I try to learn matlab by myself, I could not ask it to an...

1 year ago | 1 answer | 0

### 1

Question

I really do not understand what this question says to me. In those quarantina days, I am trying to learn matlab by myself by...

1 year ago | 1 answer | 0

### 1

Question

Question on initial value problem
I dont exactly understand aything from this question Isearched what is "deval" and how to use it, but it is difficul...

1 year ago | 1 answer | 0

### 1

Question

I'm getting an error related to fmincon
Question is this; My matlab code is as follows: %Define Matrices >> M = magic(5); >> P = pascal (5); % Define th...

1 year ago | 2 answers | 0

### 2

Question

find the values of polynomial to use polyfit
By using the census population data, Show that the relationship results between and the log of the population by setting . To f...

1 year ago | 1 answer | 0

### 1

Question

projectile question (calculate return time and compare them)
I Have a question from a textbook where some equations are written wrong. The correct versions of them are as follows: ...

1 year ago | 0 answers | 0