photo

Olawale Oyewole


Last seen: 3 mois il y a Actif depuis 2022

Followers: 0   Following: 0

Statistiques

  • Thankful Level 2
  • First Answer

Afficher les badges

Feeds

Afficher par

Question


How can I replace the upper off diagonal(super diagonal) and lower off diagonal(sub diagonal) of a matrix?
Given a symmetric tridiagonal matrix T generated by n=5; p=1; q=1.7; r=1; T=full(gallery('tridiagonal',n,p,q,r)); T=[1...

3 mois il y a | 5 réponses | 0

5

réponses

Question


How to implement linesearch in optimization algorithms?
I am trying to implement a linesearching procedure in an optimization algorithm. $\eta_n=\eta^{m_n}$ where $m_n$ is the smallest...

plus d'un an il y a | 1 réponse | 0

1

réponse

Réponse apportée
Replace certain elements of vector with the values from another vector
for i=1:3 x=[1 2 5]; y=zeros(1,3); y(1:1:3)=1+log(x(i)); end Please help replace each entry of y by 1+log(x(i)). That is ...

plus d'un an il y a | 1

Question


Vector element replacement by specified variables
I am currently having issues with this code. I want to replace each entry of a vector with specified values. for i=1:3 x=[1...

plus d'un an il y a | 1 réponse | 0

1

réponse

Question


Creating for loop for random matrixes .
Good day friends and colleagues. I am trying to generate a code for a function as follows. For Define the function by where f...

presque 3 ans il y a | 1 réponse | 0

1

réponse