Community Profile

photo

SA


Last seen: 18 jours ago
7 total contributions since 2019

SA's Badges

  • Thankful Level 2

View details...

Contributions in
View by

Question


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

environ un mois ago | 1 answer | 0

1

answer

Question


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

environ un mois ago | 1 answer | 0

1

answer

Question


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

2 mois ago | 1 answer | 0

1

answer

Question


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

environ un an ago | 0 answers | 0

0

answers

Question


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

environ un an ago | 1 answer | 0

1

answer

Question


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

environ un an ago | 1 answer | 0

1

answer

Question


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

environ un an ago | 1 answer | 0

1

answer