Question: I am new to Matlab and i ran into this problem:
I have a function that takes 3 doubles as arguments and outputs a single double e.g.:

```
function l = myFunct(a,b,c)
    l = a^2*b^2 + (2*(c^2 - b) / (a - sqrt(c)))
end

```

Now, I need to plot the result of this function for intervals:
a = b = [0.1,3], while keeping c = 2. 

I managed to do this for 2d plot of a single variable, but not for 3d...

```
R = 0:0.01:2;
fun = @(x) myFunct(0.2, x, 3);
B = arrayfun(fun,R);
plot(R, B);

```

Could you please help and explain?

Answer: 
Add `ml-auto` class to `navbar-nav` along with `mr-auto`
You can add **margin-left: auto** by adding *mr-auto* to *navbar* to center the searchbar in the navbar. **But** it won't be at the center of the header, since there is another component beside the navbar.

```
<ul class="navbar-nav mr-auto ml-auto">

```

```html
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" rel="stylesheet" />
<nav class="navbar navbar-expand-lg navbar-light bg-light navbar-custom">
    <a class="navbar-brand" href="#">ICT-Hulp(Waarschijnelijk logo)</a>
    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
    </button>

    <div class="collapse navbar-collapse" id="navbarSupportedContent">
        <ul class="navbar-nav mr-auto ml-auto">
            <li class="nav-item">
                <div class="justify-content-md-center">
                    <form class="form-inline my-2 my-lg-0 my-lg-0">
                        <input class="form-control mr-sm-2" type="text" placeholder="Zoeken..." aria-label="Search" style="width: 600px;">

                        <button class="btn btn-info my-2 my-sm-0" type="submit">Search</button>
                    </form>
                </div>
            </li>
        </ul>
    </div>
</nav>
```