HELP WITH MATLAB PRGRAM! Please only use matlab to slove this
program! Thank you!
`Hey,
Note: Brother in case of any queries, just comment in box I would be very happy to assist all your queries
clc; % Clears the screen
clear all;
x=-4:0.1:4;
y=-4:0.1:4;
[X,Y]=meshgrid(x,y);
Z=1./(1+0.5*X.^2+(Y-1).^2);
surf(X,Y,Z);
xlabel('Distance East(m)');
ylabel('Distance North(m)');
zlabel('Height (m)');
title('Jack and Jill''s Hill');

Kindly revert for any queries
Thanks.
Create a 3-D mesh plot of the function Z 1 / 1 + 0.5 x + y-1 ). Let both x and y vary from-4 to +...
Plot the surface generated by z = 3x2 + 2y2 - 10 in the intervals -4 ≤ x ≤ 4 and -3 ≤ y ≤ 3 using mesh or surf commands and chose an increment of 0.1. Label the x-, y-, and z-axes as “X”, “Y”, and “Z.” Include a title of the plot (In_Class Assignment – Problem 1). Save the plot as Problem 1. Hint: Use semicolons to prevent Matlab from showing the large matrices or vectors.
(42)1+ (z-0.5)z-0.9)(z-0.8) 3. The transfer function of a system is H(z) = a) Compute an analytical expression for the response y[n] if x[n] = u[n]. . Use Matlab to calculate the coefficients b) Simulate the response using Matlab (stem plot). Generate 50 points. (enter transfer function into Matlab and apply step input)
(42)1+ (z-0.5)z-0.9)(z-0.8) 3. The transfer function of a system is H(z) = a) Compute an analytical expression for the response y[n] if x[n] = u[n]. . Use Matlab...
%code_5_1_Sayama.m
%
% This script makes a phase portrait for
% x(n) = 0.5*x(n-1) + y(n-1);
% y(n) = -0.5*x(n-1) + y(n-1);
%
% Initial conditions:
% x0 ranges from -2 to 2 in increments of 0.5
% y0 ranges from -2 to 2 in increments of 0.5
%
% t=30 timesteps
%
% Modified from Sayama, by C. Bliss
%
======================================================================
t=30; %timesteps
x=zeros(1,t);
y=zeros(1,t);
for a=-2:0.5:2
for b=-2:0.5:2
%initialize x and y
x(1)=a;
y(1)=b;
%run the simulation...
3. The signal x[n] =-(b)”u[-n – 1]+ (0.5)”u[n], a) find the z-transform X(z) [5] b) plot the ROC. [3] С
the code in the photo for this I.V.P
dy/dx= x+y. y(0)=1
i need the two in the photo
thank you
New folder Bookmarks G Google dy/dx x+y, y(0)=1 2 h Exact Solution 1.8 Approximate Solution Mesh Points 1.6 -Direction Fied 1.4 1.2 1 0.8 04 0.2 0.3 0.1 0 X CAUsersleskandara\Desktop\New folder emo.m EDITOR PUBLISH VEW Run Section FILE NAVIGATE EDIT Breakpoints Run Run and FL Advance Run and Advance Time BREAKPOINTS RUN 1 - clear all 2 clc 3-...
Question 1: Given the relationships of x,y and z: For x = 0 to 35: y = 0.35*x*sin(x) 2=0.70*x*cos(x) In MATLAB, use an interval of x which provides very smooth plots. Create three plots: (Be sure to included title and labels for the plots.) In a single figure with subplots: A rectangular plot of x and y, and A polar plot of x and z In a separate figure: A 3-D plot of x, yandz Submitted a published file containing...
MATLAB
ICA 1: a) Using plot3, plot x, y and z given by the follow equations, for the range oft of 0.1, with R-10, r = 1.8, d :0.8, and a = 0.5: 0 to 200 in steps x(t) = (R-r) * cos (t) + d * cos R -r 佇r.r) . y(t) = |(R _ r) * sin(t) + d * sin (__ * t)|*cos (a * t) 2(t) = [A-r) * sin(t) + d * sin (--* t)|...
Find H(z): y(n)-0.2y(n-1) =x(n)+0.8x(n-1) 2y(n)+y(n-1) +0.9y(n-2) =x(n-1) +x(n-4) zeros at 1+- j1 and poles at 0.5+- j0.5. (Find H(z) as a ratio of polynomials in Z) Given y(n) = -0.81y(n-2) +0.19x(n) (poles and zeros?, sketch |H| vs θ)
1. (25 points) The figure below shows the contour plot of f(x,y)-3 -1 - 2y+y. (Credit for the figure is due to UMich instructors.) 6.00U 6.000 1.5 1.0 0.5 0.0 0.5 1.0 1.5 6.000 2.0-1.5-1.0-0.5 0.0 0.5 1.0 1.5 (a) Find all critical points of f. There should be six. Mark them on the contour plot. (Think, but don't write, about how to guess the critical points from the contour plot.) (b) Find f-,) v(,),and fp()-fy(, y) (c) Try to...