Engineering analysis
218221 questions • Page 3952 / 4365
Write a MATLAB program that asks the user for an age and then classifies the age
Write a MATLAB program that asks the user for an age and then classifies the age according to the following scheme: If the user attempts to input an age less than zero or greater …
Write a MATLAB program that asks the user to enter a beginning time and an endin
Write a MATLAB program that asks the user to enter a beginning time and an ending time (both in seconds) that define an interval of time over which we want to plot the velocity an…
Write a MATLAB program that completes the following tasks: 1. Load the data from
Write a MATLAB program that completes the following tasks: 1. Load the data from the “fuel_totalizer.txt” file into a matrix. 2. Use a for loop to calculate the quantity of fuel c…
Write a MATLAB program that determines cos(x) using taylor series expansion. The
Write a MATLAB program that determines cos(x) using taylor series expansion. The program asks the user to type a value for an angle in degrees. Then the program uses a loop fo add…
Write a MATLAB program that reads in an mp3 file. The file should be approxomate
Write a MATLAB program that reads in an mp3 file. The file should be approxomately 10 seconds long. The data vector should then be filtered using the Overlap & Add method (see…
Write a MATLAB program that reads in an mp3 file. The file should be approxomate
Write a MATLAB program that reads in an mp3 file. The file should be approxomately 10 seconds long. The data vector should then be filtered using the Overlap & Add method (see…
Write a MATLAB program to compute an approximation of the infinite series for_n=
Write a MATLAB program to compute an approximation of the infinite series for_n=1^infity1/n(n+1) for N term partial sum of the infinite series is_n+1^n 1/n(n+1) Using element by e…
Write a MATLAB program to create a SINGLE MATRIX of characters as shown below. T
Write a MATLAB program to create a SINGLE MATRIX of characters as shown below. The generated matrix MUST include a single space character for columns 2 and 6 1 ABC DEF 2 ABC DEF 3…
Write a MATLAB program to find the tensile strength (sigma_j) at t_i = 30 by fit
Write a MATLAB program to find the tensile strength (sigma_j) at t_i = 30 by fitting a function to A. Using linear last-squares regression (Regress.m). The input parameters are a_…
Write a MATLAB program to find the tensile strength (sigma_t) at t_l = 30 by fit
Write a MATLAB program to find the tensile strength (sigma_t) at t_l = 30 by fitting a function to Using linear least-squares regression (Regress.m). The input parameters are t, s…
Write a MATLAB program to generate and save the following signal in file x4.wav.
Write a MATLAB program to generate and save the following signal in file x4.wav. Plot a section of the generated signal. x4(n)-02sin(2nfnT), n = 0, 1, 1023 where, f-1000Hz, and T-…
Write a MATLAB program to implement Digital Modulation techniques (ASK, FSK, PSK
Write a MATLAB program to implement Digital Modulation techniques (ASK, FSK, PSK). (Refer to Figure 2 above) If the input is 1 then: ASK/FSK/PSK: A sinusoidal signal with low freq…
Write a MATLAB program to implement Digital Modulation techniques (ASK, FSK, PSK
Write a MATLAB program to implement Digital Modulation techniques (ASK, FSK, PSK). (Refer to Figure 2 above) If the input is 1 then: ASK/FSK/PSK: A sinusoidal signal with low freq…
Write a MATLAB program to prompt the user to enter a value of x and y correspond
Write a MATLAB program to prompt the user to enter a value of x and y corresponding to the (x, y) coordinates of a point in the Cartesian coordinate system. The program should the…
Write a MATLAB program to solve the following X-Sudoku: Solution function X = su
Write a MATLAB program to solve the following X-Sudoku:
Write a MATLAB program to solve the following X-Sudoku: Solution function X = su
Write a MATLAB program to solve the following X-Sudoku:
Write a MATLAB program to: Prompt the user to enter numeric grades (one at a tim
Write a MATLAB program to: Prompt the user to enter numeric grades (one at a time) within a while loop. Any number ol grades can be entered. Determine the number of grades in each…
Write a MATLAB program to: Prompt the user to enter numeric grades (one at a tim
Write a MATLAB program to: Prompt the user to enter numeric grades (one at a time) within a while loop. Any number ol grades can be entered. Determine the number of grades in each…
Write a MATLAB program to: Prompt the user to enter numeric grades (one at a tim
Write a MATLAB program to: Prompt the user to enter numeric grades (one at a time) within a while loop. Any number of grades can be entered. Determine the number of grades in each…
Write a MATLAB program. Generate 10 10x10 random square matrices. Verify that th
Write a MATLAB program. Generate 10 10x10 random square matrices. Verify that the product of each of the matrices and its eigenvectors equals the product of its eigenvectors and t…
Write a MATLAB proigram to find the overall transfer function if the system is c
Write a MATLAB proigram to find the overall transfer function if the system is connect as follows. Make comments for each step. G1 = tf([0 10],[1 1]); G2 = tf([0 1],[0 1]); G3 = t…
Write a MATLAB script (Classic program) that will play the following simple dice
Write a MATLAB script (Classic program) that will play the following simple dice game. The following is repeated until the player choices to quit - via a user validation loop. The…
Write a MATLAB script (Classic program) that: Prompts it user to enter a valid I
Write a MATLAB script (Classic program) that: Prompts it user to enter a valid Integer literal Reads what the user types(unevaluated) into a string variable. Determine if the stri…
Write a MATLAB script (Classic program) that: Prompts it user to enter a valid I
Write a MATLAB script (Classic program) that: Prompts it user to enter a valid Integer literal Reads what the user types(unevaluated) into a string variable. Determine if the stri…
Write a MATLAB script called myodds that asks the user to input the matrix M. Us
Write a MATLAB script called myodds that asks the user to input the matrix M. Use M to Create a matrix called Modds that contains only those elements of M that are in odd rows and…
Write a MATLAB script file, which asks the user to enter two inputs: n: a positi
Write a MATLAB script file, which asks the user to enter two inputs: n: a positive integer filename: name of the output file The script should generate the following table and wri…
Write a MATLAB script that can do what is described in the image. Another bracke
Write a MATLAB script that can do what is described in the image. Another bracketing method is Riddler's method as shown in the flowchart below construct an m- file for this funct…
Write a MATLAB script that plots one cycle of the waveform given below, beginnin
Write a MATLAB script that plots one cycle of the waveform given below, beginning at t-0. The width should be 3, and the plot must have a title, labels for the x- and y-axes, and …
Write a MATLAB script that prompts the user for an integer between 10 and 100 by
Write a MATLAB script that prompts the user for an integer between 10 and 100 by displaying Enter an integer between 10 and 100: If the user enters a number (integer or not) outsi…
Write a MATLAB script that uses a FOR loop to simulate a leaky faucet. The leaky
Write a MATLAB script that uses a FOR loop to simulate a leaky faucet. The leaky faucet is dripping at a rate of one 0.1 milliliters drop every 3 seconds. Write a MATLAB script th…
Write a MATLAB script that uses the equation below to generate a nomograph for t
Write a MATLAB script that uses the equation below to generate a nomograph for the relationship between a single source electrode and a point of observation on the surface of a tw…
Write a MATLAB script that will prompt the user to enter two data series (series
Write a MATLAB script that will prompt the user to enter two data series (series 1, series 2) and a string (title of the plot). Plot a graph with series-1 in x-axis, series-2 in y…
Write a MATLAB script that will prompt the user to enter two data series (series
Write a MATLAB script that will prompt the user to enter two data series (series 1, series 2) and a string (title of the plot). Plot a graph with series-1 in x-axis, series-2 in y…
Write a MATLAB script to implement the linear congruential algorithm to generate
Write a MATLAB script to implement the linear congruential algorithm to generate 5000 pseudo-random variates in the interval (0,1). Use the following parameters: seed=17; A=110351…
Write a MATLAB script, which asks the user to input the angle xd (in deg) and th
Write a MATLAB script, which asks the user to input the angle xd (in deg) and then approximates sine of the angle using the first 5 terms of Taylor series as follows: .ur....-z-$+…
Write a MATLAB user defined function hw53triangle.m that accepts as input, a sin
Write a MATLAB user defined function hw53triangle.m that accepts as input, a single array containing the co-ordinates of 3 points in the form of a 3x3 array: [x1 y1; x2 y2; x3 y3]…
Write a MATLAB user-defined function that calculates and graphs the step respons
Write a MATLAB user-defined function that calculates and graphs the step response of a linear system over the time period [0, 10] seconds for any supplied damping ratio z and natu…
Write a MATLAB user-defined function that solves for a root of a nonlinear equat
Write a MATLAB user-defined function that solves for a root of a nonlinear equation f(x) =0 using the Bisection method. Name the function Xs BisectionRoot(Fun, a,b). The output ar…
Write a MIPS Assembly Language program to output your name along with the month
Write a MIPS Assembly Language program to output your name along with the month and day of your birth. Example: John Doe 02/29 Upload your source code and report. All programs nee…
Write a MIPS assembly language program that adds two integers and displays the s
Write a MIPS assembly language program that adds two integers and displays the sum and the difference. In the .data section, define two variables num1 and num2 both words. Initial…
Write a MIPS assembly language program that prompts a user for a positive decima
Write a MIPS assembly language program that prompts a user for a positive decimal integer, reads the integer typed by the user and outputs the following values. The total number o…
Write a MIPS assembly language program that prompts a user for a positive decima
Write a MIPS assembly language program that prompts a user for a positive decimal integer, reads the integer typed by the user and outputs the following values. The total number o…
Write a MIPS assembly language program that prompts the user to input two string
Write a MIPS assembly language program that prompts the user to input two strings (each should be no longer than 50 characters including the null terminator). Your program should …
Write a MIPS assembly language program which uses an array of integers with 10 e
Write a MIPS assembly language program which uses an array of integers with 10 elements. The program prompts the user to input an integer to store in each element of the array. Af…
Write a MIPS assembly program to calculate A divided by B using the right approa
Write a MIPS assembly program to calculate A divided by B using the right approach.Assume the values are 6 bit unsigned numbers. j main # =========================================…
Write a MatLab program that takes as an input an RGB image and compress it into
Write a MatLab program that takes as an input an RGB image and compress it into the JPEG format and then store it on the hard disk. The JPEG file should be openable by any program…
Write a Matab script to solve the following: The flow in a volcanic dike is desc
Write a Matab script to solve the following: The flow in a volcanic dike is described by the equation: (g) / () = (^2 u) / (x^2 ) where u is velocity, is a constant called the vis…
Write a Matlab code (a computerized program) (or calculating plane stress transf
Write a Matlab code (a computerized program) (or calculating plane stress transformations. The program must: have inputs for: Input stresses sigmax, sigmay and tau_xy. desired rot…
Write a Matlab code for the following question 1) Given a periodic signal with v
Write a Matlab code for the following question 1) Given a periodic signal with values over one period given by: 1, 0St1 -1, x(t) = 1sts?, a) Compute the trigonometric Fourier Seri…
Write a Matlab code that will generate a random number, which can take only two
Write a Matlab code that will generate a random number, which can take only two possible values H (representing a heads outcome in a random coin toss) and T (representing a tails …
Subject
Engineering analysis
Use Browse or pick another subject.