Please plot f(x)=x^2+3 in domain(-2,2) in matlab with grid
clc;
clear all;
close all;
x=-2:0.01:2;%define domain of x as vector
y=x.^2+3;%defines vector y for corresponding x
plot(x,y);%plots y vs x
grid on;% grid on plot
solve part i) by hand then the rest of the questions by matlab please (a) For two points charges 2 mC and -3 nC located at (2,2) and (-1,-3) respeetively in a 2D domain: i. Derive the equation for their electrie potential at a location (x, y) in 2D space. Assume that reference electric potential is at oo and is equal to zero Using MATLAB: i. Plot the electric potential V(x. y) in a 2D domain that ranges from -5...
Please answer in MATLAB, thank you! 2. Calculate the energy of time domain signal x (t) and z (t) for the range of 0SIS2.5 Also calculate the energy of these signals in frequency domain using Parseval's theorem. Plot Energy (X) and Energy (Z) as a function of frequency f in a 2xl subplot (Energy vs frequency plot is know as energy spectrum of a signal). 2. Calculate the energy of time domain signal x (t) and z (t) for the...
Plot f(x) = x^3 - y using MATLAB. Include zero crossings in the plot.
Please use MATLAB to solve Make a 3-D mesh plot of the function z--cos (2R) in the domain -5sx<5 and -5sys5 , where R = 2 e02R ' Make a 3-D mesh plot of the function z--cos (2R) in the domain -5sx
Write a MATLAB script to plot the function of f(x) given by: Write a MATLAB script to plot the function of f(x) given by: f(x) = integral x^2 - pi^2/4 x > pi/2 8 * cos x -pi/2 lessthanorequalto x lessthanorequalto pi/2 pi^2/4 - x^2 x < -pi/2
for the function f(x) = 3x-x^3, find: 1) Domain 2) Intercepts (if possible) 3) Intervals of increasing/decreasing and Relative max/min 4) Intervals of concavity and point of inflection 5) End behavior 6) Any vertical and horizontal asymptote 7) Use all the above to make a detailed graph of the function on a grid please write everything clearly and i'l rate you depending on the work, thanks.
please explain how to do step 5 in matlab commands. med at x=c. 2 The first derivative Ne Scr We investigate the function f(x) 4 12x3+9x2. >> x-linspace (-3,3) >> y-41x.^4-12*x.^3 >> plot (x,y), grid 9*x."2; + A plot over the interval I-3,3] reveals an apparent "flat section"' with no visible relati extrema. To produce a plot that reveals the true structure of the graph, we replot over the interval [-1,2]: >> x=linspace (-1,2); >> y= 4 * x. ^4-12*x.^3...
Q: please solve using matlab code withe comment 1. Write the Matlab code to generate: x = cos(w1*t) + cos(w2*t); where, w1=7; w2=23; t = [0:0.005:2] 2. Plot the signal using sub plot a. in time domain b. in frequency domain 3) Sample the signal under different sampling conditions: a. Ts<1/2fm b. Ts=1/2fm c. Ts>1/2fm 4). Multiple plot: the signal sampled under sampling condition and the signal x a. in time domain b. in frequency domain c. Label and Title...
Solve the differential equation and use matlab to plot the solution 2. dy +2xy f(x), y(0) = 2 dx f(x)=x0sx<1 l0 x 2 1 Solve the differential equation and use matlab to plot the solution 2. dy +2xy f(x), y(0) = 2 dx f(x)=x0sx
must include tittle,xlabel,ylabel,and grid on. thank you Plot the following functions using subplots in MATLAB. The independent variable should vary from 0 to 360 degrees. All the proper plot features should be incorporated in the subplots. cos (theta + 90) 3 sin (2 theta) - 2 tan (2 theta) -2sin (theta)