Community Profile

photo

SA


Last seen: 5개월 전 2019년부터 활동

통계

  • Thankful Level 3

배지 보기

Content Feed

보기 기준

질문


Matlab and Fortran Precision Issue
I am running a code in Matlab and fortran 90 but I get different results althought the codes are the same. Is this due to differ...

2년 초과 전 | 답변 수: 3 | 0

3

답변

질문


Mesh Grid of a 3d array
I want to plot the error when I compare a numerical approximation and an exact solution. I want to use the matlab mesh function ...

거의 3년 전 | 답변 수: 1 | 0

1

답변

질문


Plot a function of two variables
I want to plot the function sin(4*pi*x)*sin(4*pi*y). I tried the following but I am not sure if I am doing the right thing. Any...

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


Repeating entries of blkdiag
I created a block tridiagonal matrix sysytem using the code below. n = 4; A = [ 6 2 0; 3 6 2; 0 3 6]; B = 7*eye(3); D = 4...

3년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How do I avoid using if and else statements in this code
I want to rewrite this code but without if and else statements. I just want to enhance convergence rate for i=1:N-1 for ...

거의 4년 전 | 답변 수: 1 | 0

1

답변

질문


How do i read the exact values from a textfile
I have a textfile that contains a vector of length 441. However when i use the fileread command, Matlab says the file has length...

거의 4년 전 | 답변 수: 1 | 0

1

답변

질문


How do I plot the value at each iteration?
My code below is to compute the minimum value and vector using the conjugate gradient method. How do i plot the value at each it...

대략 4년 전 | 답변 수: 1 | 0

1

답변

질문


Using ODE23s
In the code below, y1, y2 and y3 are functions of three variabes t, x and y. y1(0,x,y) = 1 and y2(0,x,y)=y3(0,x,y)=0 are the ini...

거의 5년 전 | 답변 수: 0 | 0

0

답변

질문


Using kron to create a large matrix
I wrote this code to create a block tridiagonal matrix with I (I is the identity matrix) on the sub-diagoanls and A as the squar...

거의 5년 전 | 답변 수: 1 | 0

1

답변

질문


121 by 121 Sparse Matrix
I want to create a sparse matrix (121 by 121) with A repeating in the main diagonal. I wrote a code below to create my 11 by 11...

거의 5년 전 | 답변 수: 1 | 0

1

답변

질문


Using dde23 with events option
Can someone kindly check this code for me? I can't seem to find my error. I can't plot the graph because my dimensions are uneq...

거의 5년 전 | 답변 수: 1 | 0

1

답변