# Tagged Questions

32 views

### How to find max and min bounds of a uncertain function

First I would like to say that I have searched the for uncertain fitting, robust fitting, linear optimization, convex optimization, etc. But I'm lacking the knowledge to solve this problem, and I need ...
47 views

### Differentiation of the Beta function

I suppose that \begin{align*} \frac{\partial}{\partial x}\left[B\left(x,y\right)\right]=&\frac{\partial}{\partial x}\left[\int_0^1t^{x-1}(1-t)^{y-1}dt\right]\\ ...
31 views

### Matlab functions of variables

So I am writing a function to compute the following equations for an SIR model: So here's my code: ...
61 views

131 views

### Matlab (machine learning) - How to calculate binary scatter plot with straight line distinguishing these values?

Maybe title sounds a bit confusing, so I'll try to explain it. Let say we have a some matrix 4x4 = (0 0 0 1 0 0 0 1 1 0 0 0 0 0 1 0) So some function should ...
330 views

### Help with writing MATLAB code - Consider the function $f(x) = x \cos(-x^2)$

Would anyone be able to help me with this question? Consider the function: $f(x) = x \cos(-x^2)$ Write MATLAB functions f.m and fp.m for the function $f$ and its derivative $f '$, respectively.
80 views

### Nonlinear regression analysis of a vector

I'm trying to get a nonlinear fit of a vector in Matlab with no success. Let's assume that I have a vector called data: data = [1,30,250,55,22,76] which can be ...
2k views

342 views

### Produce piecewise monotonic function with 3 points and their slope with MATLAB

I'm trying to reproduce the shape of an airfoil's camber line using the leading edge angle, the trailing edge angle, the chord and the max camber value. I cannot use a spline because it overshoots ...
1k views

### write text using an equation

Well like the batman equations and equations for heart, I once saw a site that draws equation for whatever text you type....but now I can't find it. Does anybody know such a site? Also a general ...
2k views

### Matlab: how to create a function $f(x)$ and get the value of $f(x)$ given $x$?

I'm a newbie to matlab and wonder how to create a function (i.e., $f(x) = 2*x+1$ ) get the value of $f(x)$ given $x$. In the above example, say $x=2$, I'd expect the result to be $5$ (yep, trivial ...