Would you please solve this Matlab practice assignment, all I need are very simp
ID: 3571495 • Letter: W
Question
Would you please solve this Matlab practice assignment, all I need are very simple imputs. Thank you for your help, Chegg has been incredibly invalueable this semester.
33. (3 pts) create the vector zeta- (-4, 8, 2, -1, o, -5, 9, 3, 4) Then use the find function to return the following vector: I-4 5 9) 34. (10 pts) Prompt the user to enter a value for x and then prompt the user to enter a value for y. If the value of x is greater than the value of y, send a message to the command window telling the user that x.> y. If x is less than or equal to y, send a message to the command window telling the user that y x. 35 (10 pts) use a for loop to create a vector of the squares of the numbers 1 through 5. 36. (10 pts) Use a while loop to create a vector of the squares of the numbers l through 5. 37. (2 pts) create the following symbolic variables using the syms function. a 38. (2 pts) Using the variables from Problem 37, create the equation symbolically y 2ax b c. 39. (2 pts) Solve equation y for x.Explanation / Answer
34) prompt = 'Enter value of x';
x = input(prompt)
prompt = 'Enter value of y';
y= input(prompt)
if(x>y)
disp(x>y);
else
disp(y>=x);
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.