Community Profile

photo

chunyi liu


Last seen: alrededor de 2 meses ago Active since 2022

Statistics

  • Knowledgeable Level 1
  • First Answer

View badges

Content Feed

View by

Answered
Plotting and Calculating Integrals
syms x int(2*x^2/sqrt(1+x),x,1,6) int(cos(2*x)/x,x,1,2) int(exp(2*x)/x,x,1,2) int(exp(-x^2),x,-1,1) Definite integrals ...

alrededor de 2 meses ago | 1

| accepted

Question


How could I program a "for loop" in Matlab to calculate the function's minimum value?
How could I program a "for loop" in Matlab to calculate the function's minimum value? The goal is to locate the function G's m...

alrededor de 2 meses ago | 2 answers | 0

2

answers

Question


我有一个求极值的函数,想做成for循环,请问用Matlab应该怎么做呢?
各位大佬,我有一个求极值的函数,想做成for循环,请问用Matlab应该怎么做呢? 大概内容是,分别求参数b=[1 2 3 4 5]时对应的函数G的极小值点 类似: syms x for b=1:1:5; G=x.^2-b.*x+1; f=...

alrededor de 2 meses ago | 0 answers | 0

0

answers