Community Profile

photo

Ruye Wang


Active since 2013

Professional Interests: image processing, pattern recognition

Statistics

  • Thankful Level 1
  • First Answer

View badges

Content Feed

View by

Answered
How to tell Matlab to give real cube roots instead of complex ones?
I have the same question. I need to evaluate a function in symbolic form, essentially like the following: syms x; f=x^(1/3...

10 years ago | 0

Question


How to avoid NaN while evaluating a function
The function below is always finite and reaches maximum y=1/4 when x=0. However, when x<0 and abs(x) is large, the numerator ex...

11 years ago | 2 answers | 0

2

answers

Question


argument list of a function handel
I can pass the elements of a list to a function handle: >> f=@(x,y)x+y >> f(1,2) ans = 3 >> x=[1 2] >> f(x(1),x(...

11 years ago | 1 answer | 0

1

answer