photo

Zhenwei Yu


Last seen: mer än 3 år ago Active since 2020

Followers: 0   Following: 0

Statistics

Feeds

View by

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

mer än 3 år ago | 1 answer | 0

1

answer

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

mer än 3 år ago | 0 answers | 0

0

answers