Community Profile

photo

Deanna Jaramillo


Last seen: 2 years ago Active since 2015

Statistics

All
  • Solver

View badges

Content Feed

View by

Question


function f(x)=xe^x
Write a function my_fun.m which returns the value of f(x)=xe^x given an input x. This function should be a function of x only.

4 years ago | 2 answers | 0

2

answers

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

9 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

9 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

9 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

9 years ago