Olawale Oyewole
Followers: 0 Following: 0
Feeds
質問
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ヶ月 前 | 5 件の回答 | 0
5
回答質問
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...
1年以上 前 | 1 件の回答 | 0
1
回答回答済み
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 ...
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 ...
1年以上 前 | 1
質問
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...
1年以上 前 | 1 件の回答 | 0
1
回答質問
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...
3年弱 前 | 1 件の回答 | 0