Community Profile

photo

Zeynep Toprak


Last seen: mehr als ein Jahr vor Aktiv seit 2020

Statistiken

  • Thankful Level 3

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


calculation of a derivative writing a function
I want to maximize the function U with respect to in order to find . That's I want to take derivative the function U w...

fast 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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 ...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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) ...

mehr als 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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?

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

fast 4 Jahre vor | 4 Antworten | 0

4

Antworten

Frage


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...

fast 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 ...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 ...

fast 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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-...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

fast 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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 ...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

fast 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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...

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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: ...

etwa 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


All zeros for Bessel function
I dont want to find all zeros of this function by using 'bessel function' besselj(nu, Z) in matlab toolbox. I would like t...

etwa 4 Jahre vor | 0 Antworten | 0

0

Antworten