Community Profile

photo

Zhenwei Yu


Last seen: plus de 3 ans il y a Actif depuis 2020

Followers: 0   Following: 0

Statistiques

Feeds

Afficher par

Question


How to write code for projected gradient descent?
clc; clear; a=0.01; x=[0;0;0] b=1 for i=1:1000 if b<10^-6 break end r=x-a*f(x) b=proj(r-x) ...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


How to write a symbolic function array?
function f=g5(x) syms q b x q=[6 7 1;7 11 2;1 2 22] b=[-1;2;3] x=transpose(sym('x',[1 3])) f=1/2*transpose(x)*q*x+transpose...

plus de 3 ans il y a | 1 réponse | 0

0

réponse