photo

Olawale Oyewole


Last seen: 3 maanden ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • First Answer

View badges

Feeds

View by

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 maanden ago | 5 answers | 0

5

answers

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

meer dan een jaar ago | 1 answer | 0

1

answer

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

meer dan een jaar ago | 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...

meer dan een jaar ago | 1 answer | 0

1

answer

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

bijna 3 jaar ago | 1 answer | 0

1

answer