Question

Evaluate general matrix function I want to evaluate this function exp(x) (2+sin(x)) at the matrix A...

Evaluate general matrix function

I want to evaluate this function exp(x) (2+sin(x)) at the matrix A . How can I write it in Matlab?

my tried is f= expm(A)*(2+funm(A,@sin)); but it is not correct

Homework Answers

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
a)is the function f (x) = x exp ^(-x ^ 2/2) a proper function of the...
a)is the function f (x) = x exp ^(-x ^ 2/2) a proper function of the operator d2 / dx2-x2? if so, what is the intrinsic value? b)is the function f (x) = exp (4ix) +exp (-4ix) its own function of the operator d2 / dx2? if so, what is the intrinsic value?
Given that x is a 200x4 matrix and u is a 1x4 matrix of all 1s....
Given that x is a 200x4 matrix and u is a 1x4 matrix of all 1s. I want to matrix multiply each row of x times u. To do this I want to transpose each row of x into a 4 by 1 matrix. multiply it by u and then set into a new matrix. The new matrix should be 200 by 1. How can I do this in matlab?
questions should be done on MATLAB 5) For the function f(x) = cos(x)exp(-x2) find and at...
questions should be done on MATLAB 5) For the function f(x) = cos(x)exp(-x2) find and at 0.5 and = 1.
How can I think about matrix entries in a general sense? I a looking for a...
How can I think about matrix entries in a general sense? I a looking for a much deeper analysis than “systems of equations.” For instance, I know that when it is a rotation matrix, I know that the column vectors in the matrix, R, will be where the basis vectors land, and hence it will rotate any given vector accordingly. (is this correct in a general sense, as far as rotation matrices go?) However, for a general linear transformation, I...
Evaluate 3(cos 60 + i sin 60) x 4(cos 15 + i sin 15). Write the...
Evaluate 3(cos 60 + i sin 60) x 4(cos 15 + i sin 15). Write the answer as a complex number in standard form a + bi. Round decimals to the tenths place. (The angles are in degree form, just couldn't use degree symbol and the x is for multiplication not a variable.
2 If w =exp(x2y) and x = sin(11t) and y = 21cos(-33t), find δw/δt in two...
2 If w =exp(x2y) and x = sin(11t) and y = 21cos(-33t), find δw/δt in two ways, once by plugging in, and once by the chain rule. 3. Show why it is true that, if f(x, y) = 0 implicitly defines y as a function of x, we can compute the derivative dy/dx as the negative of the quotient of δf/δx and δf/δy. 4. Find the directional derivative of the function f(x,y) = (x+1)4 cos(-5y) at the point (0,1) in...
**Please use MATLAB** 11)Function: Create a function that takes inputs “x” and “z” and generates any...
**Please use MATLAB** 11)Function: Create a function that takes inputs “x” and “z” and generates any random matrix of dimension “x” or “z”, whichever is larger. 12)Function: Create a function that takes a generic matrix, x, and finds the smallest value in the matrix. The function must work for matrices of any size or dimension. **Please use MATLAB** Also, please include code used for the function. I have tried several times but have been unsuccessful.
Write a script (must be titled “NumIntF”) in MATLAB that calculates the integration of function f(x)=cos(x)...
Write a script (must be titled “NumIntF”) in MATLAB that calculates the integration of function f(x)=cos(x) . exp(sin x), Using numerical integration method. When the user runs the script, he/she is prompted to input the lower and upper limits for numerical integration, both in radians, and your program outputs the integration result. You can use built-in trigonometric functions and the exponential function, but you are not allowed to use any built-in function to do the integration. You must use a...
Define a function f as follows: f ( x ) = sin ⁡ ( x )...
Define a function f as follows: f ( x ) = sin ⁡ ( x ) x , i f x ≠ 0 , a n d f ( 0 ) = 1. Then f is a continuous function. Find the trapezoidal approximation to the integral ∫ 0 π f ( x ) d xusing n = 4 trapezoids. Write out the sum formally and give a decimal value for it.
Find the root of f(x) = exp(x)sin(x) - xcos(x) by the Newton’s method starting with an...
Find the root of f(x) = exp(x)sin(x) - xcos(x) by the Newton’s method starting with an initial value of xo = 1.0. Solve by using Newton’method until satisfying the tolerance limits of the followings; i. tolerance = 0.01 ii. tolerance = 0.001 iii. tolerance= 0.0001 Comment on the results!